Hello ,
Currently I am working on a product template in 3DExperience which has Design Table. Associated excel sheet is saved in 3DX database.
Trying to create a macro to do the following task.
Open the excel sheet associated with Design table which is saved in 3DExperience database ---->...
Hi
I have CATIGeometricalElement from Sweep surface which created newly
CATISpecObject_var spSweep1Guide;
Param1.Append(spGuideCurve);
Param1.Append(spCircle);
spSweep1Guide = CAAGsiObjTool.CreateSweepOneGuide(Param1);
Param1.RemoveAll();
CATIGeometricalElement_var spGeomElemSweep =...
Hi
In CAA V5, I am able to find the specification container and Mechanical Feature using
CATIPrtPart_var spPrtPart = spSpecOnPart;
Now I need to find out all points inside the part. Example is shown below
Could you please direct me for right APIs to use?
I tried the following, but while...
Hi,
If I have 2 product documents open in current session, How do i select or switch between documents within the VBA?
SelectElement2 is used within active document
SelectElement4 is used within non active document
But In my case, I dont know whether selection will be in active document or...
Hi Little,
Here is the code for the function to measure distance between 2 selection. Not sure why values are different in batch mode versus interactive mode. Do you think of any tools-option settings?
' Retrieve the group of all components
Dim cGroups1 'As AnyObject
Set cGroups1 =...
Hi,
I am doing distance calculation between 2 products using following code. I am getting different values while running the same code in interactive mode versus batch mode. Any help to resolve this would be appreciated. Thanks
Dim cDistances As Distances
Set cDistances =...
Hi
While trying to extract a face in CAA, I get an update error. If updating is commented and Extract feature does not have face selected in CATIA.
Any help would be appreciated, Thanks
CATFace_var pFace(FacesList[facesIdx]);
const CATIGSMExtractSolidePropag Proptype =...
Hi,
In my part file, rectangular planar curve is available as a UDF.
I am able to search for UDF inside a part file using
GSDescendants->GetAllChildren("CATIUdfFeature", udfList);
Also got solid body using
spPartRequest->GetSolidBodies(stdContext, SolidBodyList);
I want to know how to...
Hello,
Code seems to be okay. I am able to get coordinates for one of my product instance
Eventhough you are counting body(shapes) + hybridbodies + sketches, you are measuring only for body, So Check if your product instance contains part body / body with solid to measure.
Dim CorpsH As...
10 + years of experience in CATVBA/ PKT / BKT /Win 32 API
1 + year of experience in CAA automation in batch program and interactive tools
Let me know if i can help in some way
Hi I could able to resolve some of the errors. Please see below. Only error is on technological object now.
And I am new to CAA. [sad]. Need your help.