Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

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

Get Active model in the given assembly

  • Thread starter Thread starter kishorev
  • Start date Start date
K

kishorev

Guest
View attachment 5550Hello,
Do you come across any API which can give the active component model handle in the given assembly.
For more clarity I am going to explain you
 
I would use -
ProSolidFeatVisit() - to Loop through each of the assembly component.In Action function of it use following API to get status.

ProFeatureStatusGet().

It returns -
PRO_FEAT_ACTIVE&nb sp; = 0, /* feature is active */
PRO_FEAT_INACTIVE& nbsp;= 1, /* feature is in active */

HTH.
Thanks.
 
Hello,


I attached the image file for my requirement,I just highlighted in red color which is the active model in the given assembly.I would like to get the model handle of the activated model in the current assembly.I tried with the SolidVisit() function it always give the feature status is active for all the components in the assebly even it is activated state or not.


Plz let me know any one done work around to get the active model handle.


Kishore V
 
ProMdlActiveGet()
 

Part and Inventory Search

Sponsor

Back
Top