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?



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


Thanx in advance



Re: AskTypeAndSubtype for Dimensions

Gears Esteemed Contributor Gears Esteemed Contributor
Gears 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.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 ( | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

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.