Our drawings are multi sheets. In title block is some text that we do not need on all sheets. My question is it possible to turn on/off text in title block for each sheet.If i have text in one sheet but not in few others.
I have rule where i can turn on/off layer with specific text in title block but only problem is if i do so then i turn off text in all sheets. Can you guys help?
Thanks!
Solved! Go to Solution.
Solved by Vladimir.Ananyev. Go to Solution.
TextBox object has Layer property that gets and sets the layer associated with this object.
So you may create special Layer for “invisible” TextBoxes and move desired TextBox object to this layer at any moment.
See also “Moving sketch entities to a new layer API Sample “ in the Inventor API Help.
Cheers,
I did try but with no success. Do you have any iLogic code that i could use?
Thanks
Texts are turned on/off in all sheets because all these sheets use TitleBlock objects with the same TitleBlockDefinition. If you are able to create several TitleBlock definitions that differ by some text visibility you may programmatically (via iLogic rule) replace the current TitleBlock by another one with different definition.
Inventor API Help provides several code samples for TitleBlockDefinition Object: