Add design state iproperty to iassembly table

Add design state iproperty to iassembly table

anthony_hendrick
Advocate Advocate
246 Views
1 Reply
Message 1 of 2

Add design state iproperty to iassembly table

anthony_hendrick
Advocate
Advocate

Hi all,

 

I have an iassembly and would like to add the design state from iproperties to the list of variables in the table of iassembly occurrences. 

 

I don't seem to find how to do this but imagine it should be possible somehow.....

 

Any help would be greatly appreciated. 

 

Thanks 

 

Anthony 

 

 

0 Likes
247 Views
1 Reply
Reply (1)
Message 2 of 2

bhavik4244
Collaborator
Collaborator

@anthony_hendrick 

 

This Link can help you.

 

https://forums.autodesk.com/t5/inventor-customization/ilogic-to-change-design-state/td-p/5093302

 

I just made a quick rule which can solve your issue,

 

prop = iProperties.Value("Status", "Design State")

If prop = 1

DesignStatus = "Work In Progress"

Else If prop = 2
	
DesignStatus = "Review"

Else If prop = 3

DesignStatus = "Released"
End If

MessageBox.Show(DesignStatus, "Design Status")

 


Bhavik Suthar
0 Likes