Continue to Site

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.

Identifying suppressed component

alokl

New member
I am using ProMdlRetrieve() to load the model into Pro/E session. This API automatically suppress the components if it couldn't find some model in the search path.


Once the model is retrieved, I couldn't find a way to distinguish:

  1. <LI>If the model is suppressed at the time of retrival as it was not found in a search path</LI>
    <LI>Model was already suppressed when it was last saved.</LI>


Any Suggestions?
 
I am assuming the model is an assembly so this is how you determine if a component is suppressed.


1. Get a handle to the assembly (ProMdlCurrentGet)


2. Traverse the assembly components filtering out as needed (ProSolidFeatVisit)


3. Get the status of the feature (ProSolidFeatstatusGet)


Also read the following sections in the API Wizard as they will help as well:


1. User's Guide->Assemblies->Visiting Assembly Components


2. User's Guide->Geometry->Visiting Geometry Objects->Visiting Feature Geometry
 
Loganathan,


Read the API Wizard located <pro loadpoint>\protoolkit\protkdoc\index.html. Look for the function ProFeatureSuppress and ProFeatureResume.
 

Sponsor

Back
Top