Hole Note [_showLeader] = true

Hole Note [_showLeader] = true

Anonymous
Not applicable
568 Views
4 Replies
Message 1 of 5

Hole Note [_showLeader] = true

Anonymous
Not applicable

How I can activate Hole Note [_showLeader] = true and what actually happen.

0 Likes
569 Views
4 Replies
Replies (4)
Message 2 of 5

WCrihfield
Mentor
Mentor

That is a curious line item. Perhaps its just an internal reference, hence the [brackets] around it. I don't see any Methods or Properties of the HoleThreadNote Object that seem to have any control over or access to that value.  I looked at the Dimsneion Style & Leader Style too, but I'm not seeing an option to toggle the leaders visibility.  Perhaps someone from Autodesk can answer that one.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 5

maxim.teleguz
Advocate
Advocate

Okay if you tell me how did you pull up that information I can help you then solve this. 

Its basically with set do this. 

0 Likes
Message 4 of 5

JelteDeJong
Mentor
Mentor

This is a read-only property of the "HoleThreadNote" interface. Maybe it is useful information in some edge cases but it's not a documented property. Also, the fact that this property starts with a _ (underscore) is a hint that this should not be accessible. (For programmers it's common to use an underscore in front of variable names that should only be accessed from within a class. So for me it is strange that it is exposed at all)

Anyway, you cant set it.

JelteDeJong_0-1640166855464.png

 

 

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

Message 5 of 5

maxim.teleguz
Advocate
Advocate

a = selectedset

if a.holenote = true then

a.[_showleader] = true

End If

 

something like this. but this isnt real code just a quick interpretation

 

or 

 

with selcted set

 .[_showleader] = true

End with

0 Likes