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!

Search results for query: *

  • Users: 22555
  • Order by date
  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?
  16. 22555

    How to export DMUCLASH Report Using CATIA V5 CAA

    Hi Little, Thanks for your reply. You mean I can use VB APIs inside CAA? For example, How do I use below objects in CAA? Dim cClashes As Clashes Set cClashes = product1.GetTechnologicalObject("Clashes") Dim cClash as Clash Set cClash = cClashes.Add Regards
  17. 22555

    How to export DMUCLASH Report Using CATIA V5 CAA

    Hi Little, Thanks for your reply. My requirement is to run the clash check in batch mode. And my product needs to be pulled from PDM and not going to be in file system. So I guess the only solution is CAA Please let me know if there is any alternative. Regards
  18. 22555

    How to export DMUCLASH Report Using CATIA V5 CAA

    Hi, I am new to CATIA CAAV5. Have anyone done Clash+Interference+Contact Check using CAA APIs? There are predefined APIs in CAA like (#Define CATDMUCLASH). But not sure how to call it Please let me know. Thanks in advance
  19. 22555

    CATIA VBA macro for comparing 2 CATParts

    Thank you I tried to add instance name in listbox using LB_ADDSTRING and LB_SELECTSTRING functions, - Instance name added to listbox and also selected - Comboxbox appears in listbox and could see 2 items, Selected Instance name and "No Selection" - But Preview button is not enabled. Any...
  20. 22555

    CATIA VBA macro for comparing 2 CATParts

    Hello All, I tried using WinAPI to compare the products. Facing below issue. Please help 1. Able to get the handle for window "Compare Products" 2. Able to get the handle for listbox "Selector003" 3. But could not able to assign product1 in listbox selection. Tried with Objselection.add...

Part and Inventory Search