Need to make nested elements in LocationPoints ByBlock.

Need to make nested elements in LocationPoints ByBlock.

mdhutchinson
Advisor Advisor
435 Views
1 Reply
Message 1 of 2

Need to make nested elements in LocationPoints ByBlock.

mdhutchinson
Advisor
Advisor

It appears like management may make us color code our LocationPoints.

We use different layer(s) for LocationPoints as I am sure the rest of the community does and also like most, we do Color set ByLayer.  

 

... but with this direction from management it appears like we'll need to modify the LocationPoint to have all it's nested elements to be changed from color ByLayer to be color ByBlock - so that we can leave our points on layers we wish - and change the color of the points accordingly.

 

Currently the LocationPoints in APL have all its nested elements to have ByLayer control... I have downloaded and modified accordingly lisp code from Set color to "ByBlock" for entities inside blocks .

This looks that it will work for us... except that for some reason we cannot get the leader in the LocationPoint to comply with the points color. The leader is of the 'Standard' dimension style and it's colors are set to ByBlock so it should work. Looking the leader itself in Block Editor it is ByBlock also, but we cannot get the leader to be the same color as the other elements (and Attributes). 
Of course with the Attributes we have to use AttSync command to get the attributes to update, but am stumped about how to get the leader to display with anything but white. 

 

Thoughts?

 

 

0 Likes
Accepted solutions (1)
436 Views
1 Reply
Reply (1)
Message 2 of 2

s.hamel
Community Manager
Community Manager
Accepted solution

Appears to be a long standing bug in AutoCAD, specific to leaders, googling it showed a similar issue from back in 2009.  the block could be edited to switch out the leader for a multileader which does not have this issue, but really it appears there is no good solution.

 

Thanks,



Shayne Hamel
Manager, Principal Software Engineering
0 Likes