Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

AskTypeAndSubtype, list all types

Hi All,

 

Is there a complete list of all object types?

 

Dim type As Integer
Dim subtype As Integer
ufs.Obj.AskTypeAndSubtype(selobj.Tag, type, subtype)

What are the possible values of integer 'type'?

 

Example:  134 = NXOpen.Sketch

 

thanks,

Fred

2 REPLIES
Solution
Solution
Accepted by topic author evolve
‎09-05-2016 07:32 AM

Re: AskTypeAndSubtype, list all types

All that inherit from NXObject are defined in %UGII_BASE_DIR%\ugopen\uf_object_types.h

 

There are a few special selection only (pseudo) types for CAE defined in uf_ui_types.h

Re: AskTypeAndSubtype, list all types

Hi Jim,

 

That's exactly what I'm looking for!

Thanks!

 

br,

Fred