Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Register Log in

Unable to select AXIS

Pooja_Sahay

New member
<H1 =q>Not able to select Axis for giving "Coincidence" Constraint (CATIA Automation using VBScript)</H1>
I am working on a Macro(CATScript) where I need to create a "Reference" Object for the "Axis" selected by the user in order to add the "Coincidence" constraint.

I am working on CATIAV5 R18.
When I used the "SelectElement2" API to retrieve the Selected Object (Axis of a Circular Pocket), the method returned "Nothing".


I also tried using the "SelectElement3" API, but got the "Plane" instead of the "Axis" (as the Selection filter Type was "AnyObject").


What should the Selection filter be in order to select an Axis?
 

Sponsor

Top