Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using .net to identify if a PMI dimension has objects associated to it

Status
Not open for further replies.

Befuddled

Aerospace
Joined
Jan 9, 2008
Messages
78
Location
GB
Hi All,

Does anybody know if it possible to identify if a PMI dimension has a object associated to it, such as a 'feature control frame', I cant seem to identify anything in the API notes for .net (using NX1872)

In NX, if I create a simple PLM linear dimension, and associate/stack a feature control frame with it, then move the dimension the frame also gets moved (so its linked/related some how!) nb you need to be sure the FCF is stacked... its when the temporary dashed box appears around the dimension and the FCF, you know they are properly linked/related

Also, if I blank just the dimension (be very careful to just select the dimension) the FCF also gets blanked.. so NX definitely knows they are link/related.

Tried to record this in a journal in a hope to expose required commands, but nothing....

Any tips welcome.

Cheers,

B

 
Hi -

Try have a look at the attached codesnippet as screenshot...

Yew - you shall use this:
Annotation.HasAssociativeOrigin....

Then you will succeed in the end....

(Journal records does only deliever limited results often...


-/ Lars
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top