Author Topic: vla-addleader but with a null value  (Read 2973 times)

0 Members and 1 Guest are viewing this topic.

hendie

  • Guest
vla-addleader but with a null value
« on: December 11, 2003, 05:48:01 AM »
I'm not sure if I've asked this before but...

in the help file under vla-addleader it states:
Quote
You can also create leaders that are not associated to a particular object. To do this, simply input a NULL object as the annotation.

I've tried and tried but can't seem to be able to do this. Everything I've tried gets a response of:
Quote
; error: ActiveX Server returned an error: Parameter not optional

can anyone give me some clues as to go about this ? I've done a few searches and every example I can find uses mtext but none use the Null object

SMadsen

  • Guest
vla-addleader but with a null value
« Reply #1 on: December 11, 2003, 05:53:23 AM »
There is no representation of a NULL object in VLisp. I did some tests as a result of the exact same question posted elsewhere and found a text somewhere (sorry, can't remember where, maybe the knowledge base?) that states it can't be done.

Only workaround that I found is to give it an MTEXT object and then delete the MTEXT afterwards.

hendie

  • Guest
vla-addleader but with a null value
« Reply #2 on: December 11, 2003, 05:57:10 AM »
thanks Stig, I knew you would come back with a quick response.
I had thought of the add and delete method but was hoping that it was possible somehow.
onwards and upwards !