Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
johnster100
305 Views, 0 Replies

Get Dimenions or Form Control Feature item number with iLogic

Hi,

I am creating a drawing which will have values updated with iLogic.

 

I am having trouble updating Feature Control Frames and Dimensions. I am looking for a method to obtain their item numbers so I can control their location and values.

 

I can get the objects using the select set method but I do not know how to obtain the item number of the object once I have it.

 

 

code for getting object with select set:

Dim oFeatContFrame As FeatureControlFrame

	
For Each oFeatContFrame In ThisDoc.Document.SelectSet
	'adds a note to the control frame
	oFeatContFrame.notes = "111"	
Next

 

but as said above I do not know how to get the item number so I can later set the value:

 

ActiveSheet.Sheet.FeatureControlFrames.item(x).notes = "111"

 

thanks,

John