Ilogic code to suppress a user created work point/workplane

Ilogic code to suppress a user created work point/workplane

jayanthi_sara
Observer Observer
114 Views
1 Reply
Message 1 of 2

Ilogic code to suppress a user created work point/workplane

jayanthi_sara
Observer
Observer

Hello all,

I need to automate the drawings using Ilogic code,

In order to do this, I need to suppress some of the user created work point/work planes, which I have used for creating dimensions through ilogic code.

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

cidhelp
Collaborator
Collaborator

Hello @jayanthi_sara ,

 

do you mean workpoints that are used in drawingviews to create drawing dimensions?

Then you can start at the dimension and get IntentOne/IntentTwo.Geometry (these are CenterMarks-objects). Set Visible = False for these Centermarks.

If oDim is the LinearGeneralDimension then:

oDim.IntentOne.Geometry.Visible = False
oDim.IntentTwo.Geometry.Visible = False

switches off the visibility of the centermarks. 

 

 

0 Likes