Hi!
Is it possible to automatically add custom iproperties using iLogic?
I have a rule thats adds text to a propery, but when I run the rule in an old partfile i get the error:
"Can't find a property named DrawingNo"
Is there something like:
"Create iProperties.Value("Custom", "DrawingNo")"?
Solved! Go to Solution.
Solved by PaulMunford. Go to Solution.
Read Up on this article:
http://modthemachine.typepad.com/my_weblog/2010/02/custom-iproperties.html
All of the VB stuff that Brian describes can be applied to iLogic. Just remember to observe VB.net rules (i.e. 'Get' and 'Set' aren't required) and don't forget that you can use iLogic's built in functions to get the current document.
Super!
I will try read and try the examples:)
actually what i wanded it to do: (for using the substitution function in the partlist)
if iProperties.Value("Custom", "Part have drawing") = True
iProperties.Value("Custom", "DrawingNo")= "=ACC TO DWG <Project>-<SubNo>-<ItemNo>"
else if iProperties.Value("Custom", "Part have drawing") = False
iProperties.Value("Custom", "DrawingNo")= ""
end if
Can't find what you're looking for? Ask the community or share your knowledge.