Author Topic: Looking for a multileader lisp that shows an attribute of the object.  (Read 5019 times)

0 Members and 1 Guest are viewing this topic.

nirav

  • Guest
Re: Looking for a multileader lisp that shows an attribute of the object.
« Reply #15 on: February 25, 2015, 04:19:23 PM »
Hi Andrea,
That is a great effort. Thank you so much.

Two queries:
1. Does the tag number change after regen if you switch to different model in same dynamic block?
2. I tried to use your code, but it shows "; error: no function definition: VLAX-GET-ACAD-OBJECT". Am I missing something here?

Please advise.

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Looking for a multileader lisp that shows an attribute of the object.
« Reply #16 on: February 25, 2015, 04:53:22 PM »
Hi Andrea,
That is a great effort. Thank you so much.

Two queries:
1. Does the tag number change after regen if you switch to different model in same dynamic block?
2. I tried to use your code, but it shows "; error: no function definition: VLAX-GET-ACAD-OBJECT". Am I missing something here?

Please advise.

Please use add (VL-LOAD-COM) at the begining of code.
actually you will beed to remake the MLEADER to update the field if you switch dynamic block.
However, this can be done with Xdata linked to the object and update field using reactor on dynamic block switching..

I've noted that your block do not have constent name,..some of them have attribute, some not....be careful.

:)
Keep smile...