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

Parameters Dynamic Blocks

1 REPLY 1
Reply
Message 1 of 2
Lupo76
396 Views, 1 Reply

Parameters Dynamic Blocks

Hello everyone,
I'm using the attached lisp to change the parameters of adynamic block.
In particular, I use the function chgdynprop

(defun c: test ()
   (setq oggfreccia (car (entsel)))
   (chgdynprop (Vlax-ename-> vla-object oggfreccia) "Distanze1"300.0)
)

The lisp function works properlybecause if I select the block from the bar I can see that property Distanze1 = 300.0


Unfortunately, however, the graphics of the block is not updated.
Do you have any advice?
Thanks in advance

1 REPLY 1
Message 2 of 2
Lupo76
in reply to: Lupo76

Excuse me,

the code works correctly.

The problem was in the dynamic block 😉

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

Post to forums  

Autodesk Design & Make Report

”Boost