Ilogic to pdf layers control

Ilogic to pdf layers control

Dan_Margulius
Advisor Advisor
457 Views
1 Reply
Message 1 of 2

Ilogic to pdf layers control

Dan_Margulius
Advisor
Advisor

Hello, 

I am using ilogic rules found in this forum to publish to pdf. 

I would like to know if its possible to hide certain layers while publising to pdf.

So is it possible to do that with ilogic? 

Thanks

Dan

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

Vladimir.Ananyev
Alumni
Alumni

Layer object has boolean property Plot that gets and sets whether this layer is plotted. If set to False, the layer continues to display in the drawing but will neither get printed nor published. So if you get the reference to layer you may suppress it while publishing.

Layers are accessible via DrawingDocument.StalesManager.Layers collection.
Cheers,


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

0 Likes