Skip to main content
1-Visitor
Apr 6, 2016 3:39 PM UTC
Question

Is there a VB API to find the node of a particular feature in model tree

Hello,

I'm trying to find the node number of a particular feature (say a coordinate system) in the model tree. Is there a VB API for this?


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

3 replies

2-Explorer
May 3, 2016 7:26 PM UTC

You mean to say feature number by stating node number of a feature?

Translate
1-Visitor
May 4, 2016 5:23 PM UTC

Nope, node number is different from the feature number.

Anyway, I found a workaround for the issue, using 'Find' search tool.

Thank you for your response.

Translate
1-Visitor
May 4, 2016 7:10 AM UTC

Yes, this is possible using the VB API.

Here is a list of proberties that can be retrieved from a feature object:

IpfcFeature.FeatType

IpfcFeature.Status

IpfcFeature.IsVisible

IpfcFeature.IsReadonly

IpfcFeature.IsEmbedded

IpfcFeature.Number

IpfcFeature.FeatTypeName

IpfcFeature.FeatSubType

IpfcRoundFeat.IsAutoRoundMember

Translate