Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

make a grip active programatically

4 REPLIES 4
Reply
Message 1 of 5
markruys2
521 Views, 4 Replies

make a grip active programatically

is there a way, after inserting a dynamic block, to make one of the stretch grips

active programatically.

TIA

m

4 REPLIES 4
Message 2 of 5
Moshe-A
in reply to: markruys2

Hi

 

something like this?

 

(command "insert" "BlockName" pause 1 1 0)
(setq ss (ssadd))
(setq ss (ssadd (entlast) ss))
(sssetfirst nil ss)

 

Cheers

Moshe

 

Message 3 of 5
markruys2
in reply to: markruys2

correct and nice,

but i was wondering if there was a way to make a specific grip on that object hot (red hot selected)

thanks

Message 4 of 5
Moshe-A
in reply to: markruys2

Hi,

 

You didn't specify your goal so i now presume that you want to progamaticlly set a dynamic block?

search here for (vla-getDynamicBlockProperties) function and you will find alot on it.

 

Cheers

Moshe

 

Message 5 of 5
Redraiderr2009
in reply to: markruys2

Did you ever figure this out. I would like to make a leader like dynamic block that would have the insert point at the arrow and then make the stretch grip active to see you drag the note to the desired locaiton.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost