Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by 22555

  1. 22555

    How to search for excel sheet in 3DExperience Database using VBA?

    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 ---->...
  2. 22555

    CATIA CAA - How to get CATSurface from a sweep operation

    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 =...
  3. 22555

    How to search for all points in CATPart using CAA

    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...
  4. 22555

    Catia VBA Macro for Selection from Active or Non Active Document

    Thanks Little, Yes When I use SelectElement4, It is not allowing me to select in Active Document.
  5. 22555

    Catia VBA Macro for Selection from Active or Non Active Document

    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...
  6. 22555

    Running CATScript for distance calculation in interactive mode vs batch mode

    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 =...
  7. 22555

    Running CATScript for distance calculation in interactive mode vs batch mode

    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 =...
  8. 22555

    Update error while extracting a face in CAA

    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 =...
  9. 22555

    CAA program to measure between UDF and a face

    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...
  10. 22555

    Any CAA developers out there?

    Hi Little, Areas of expertise : CATVBA / Knowledge Templates using EKL CAA Tools : DMU Clash Checks, Tool for identifying inner boundary loops from dump solids, Topology searches etc Thanks
  11. 22555

    GetCOG in SPA Workbench gives empty result

    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...
  12. 22555

    Any CAA developers out there?

    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
  13. 22555

    How to export DMUCLASH Report Using CATIA V5 CAA

    Thank you very much, I am getting some light out of tunnel!
  14. 22555

    How to export DMUCLASH Report Using CATIA V5 CAA

    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.
  15. 22555

    How to export DMUCLASH Report Using CATIA V5 CAA

    Thank you , PDM is Team Center . When I tried your code, received below errors. What are the headers and interfaces need to be added?

Part and Inventory Search