cancel
Showing results for 
Search instead for 
Did you mean: 

AskTypeAndSubtype, list all types

Genius
Genius

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

Re: AskTypeAndSubtype, list all types

Siemens Phenom Siemens Phenom
Siemens Phenom

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

Genius
Genius

Hi Jim,

 

That's exactly what I'm looking for!

Thanks!

 

br,

Fred