Cancel
Showing results for 
Search instead for 
Did you mean: 

AskTypeAndSubtype for Dimensions

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

hi all

i'm using

ufs.Obj.AskTypeAndSubtype(object1, type1, subtype1)

i want to ask for the type of dimension and do something with particular type with

select case subtype1

 (...)

 

where i can find list of values representing type of dimension with AskTypeAndSubtype?

 

BTW

NXOpen.Annotations.DimensionType. has not the same value as i get using AskTypeAndSubtype

 

Thanx in advance

 

--
regards
dj
2 REPLIES

Re: AskTypeAndSubtype for Dimensions

Esteemed Contributor
Esteemed Contributor

In the .NET programmers reference there is the hint that this is a wrapper function.

There is also a link to the description of the original C function, there you will find the hint that the values can be found in the file uf_object_types.h

 

The complete path to this file is "%UGII_BASE_DIR%\UGOPEN\uf_object_types.h"

 

Not all object types can be found there, since some are declared in a different C header file ending in _types.h

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX12.0

How to Get the Most from Your Signature in the Community

Re: AskTypeAndSubtype for Dimensions

Siemens Pioneer Siemens Pioneer
Siemens Pioneer

hi -

 

Take a look in this "folder" in  *net_ref.chm.

 

NXOpen.UF Namespace

 

Here you can find all the good stuff.