Hiding the grip handles for named parameters in a block

Hiding the grip handles for named parameters in a block

acadadmin3KNUF
Advocate Advocate
635 Views
2 Replies
Message 1 of 3

Hiding the grip handles for named parameters in a block

acadadmin3KNUF
Advocate
Advocate

Hello to all:

 

I am trying to keep my salesforce AND my engineers happy with blocks that have a lot of visible attributes and dynamic block parameters.  The sales people don't want to see the parameter handles like stretch, move, etc. that the engineers need to see later on in the process.  I have tried putting all the parameters on different layers and switching the layers off, but when the block editor is closed, they all still go back to layer 0, which doesn't help me.  

 

Then i realized....can I hide JUST the handles themselves?  If I name the parameters carefully (as in the attached sample block), is there a way with LISP that I can change the grip number from one to zero for the specifically named parameters in the block?  Thanks in advance for any help!

0 Likes
Accepted solutions (1)
636 Views
2 Replies
Replies (2)
Message 2 of 3

Moshe-A
Mentor
Mentor
Accepted solution

@acadadmin3KNUF ,

 

The following is list of properties of "DistanceAlpha" Linear Parameter. as you can see there is a Show property but unfortunately it is read only. this means there is no way to turn if off at least from Visual Lisp\ActiveX.

 

Moshe

 

_$ (vlax-dump-object d1 t)
; IAcadDynamicBlockReferenceProperty: AutoCAD Dynamic Block Property Interface
; Property values:
;   AllowedValues (RO) = nil
;   Description (RO) = ""
;   PropertyName (RO) = "DistanceAlpha"
;   ReadOnly (RO) = 0
;   show (RO) = -1
;   UnitsType (RO) = 2
;   Value = 50.0
; No methods
T
_$ 

 

 

 

0 Likes
Message 3 of 3

acadadmin3KNUF
Advocate
Advocate

ARRRGH I SAY!  <sigh> thanks very much for the fast reply!

0 Likes