AutoCAD Architecture Customization
Welcome to Autodesk’s AutoCAD Architecture Customization Forums. Share your knowledge, ask questions, and explore popular AutoCAD Architecture Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

VL or Lisp?

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
249 Views, 3 Replies

VL or Lisp?

Why doesn't this work at the command line?

(command "_AecDcSetImpTitleMarks")

But its in the ADT toolbutton macro that way..
So, how can I call this in Lisp?
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

call the command this way (c:AecDcSetImpTitleMarks)

--
|
-+-------------------------------------------------
| Rob Starz
| Stardsign cad solutions
| AEC Designer / Consultant / Developer
| Arch Desktop tools www.stardsign.com/adtcadpacx.htm
| ******coming soon e-Training for ******
| programming Arch Desktop
| learn what you can do...with little input.
Message 3 of 4
Anonymous
in reply to: Anonymous

Great thanks.
Now I have this:

(defun c:TA (/ )
(if (= (tblsearch "block" "title")nil)
(c:AecDcSetImpTitleMarks)
(command "_AECAnnoSymbolAdd" "Symbol" "Title")
)
)

If the block I want is already there, I it will inster it.
If not, it opens the ADC window.


"Rob Starz" wrote in message
news:D7DA597583A69A0FD78EB4053EEBBED1@in.WebX.maYIadrTaRb...
> call the command this way (c:AecDcSetImpTitleMarks)
>
> --
> |
> -+-------------------------------------------------
> | Rob Starz
> | Stardsign cad solutions
> | AEC Designer / Consultant / Developer
> | Arch Desktop tools www.stardsign.com/adtcadpacx.htm
> | ******coming soon e-Training for ******
> | programming Arch Desktop
> | learn what you can do...with little input.
>
>
>
Message 4 of 4
Anonymous
in reply to: Anonymous

But this doesnt scale the block like the ADT Custom content does.


"F. Gump" wrote in message
news:954C057EEF318EB2BC26E064B7C8DC47@in.WebX.maYIadrTaRb...
> Great thanks.
> Now I have this:
>
> (defun c:TA (/ )
> (if (= (tblsearch "block" "title")nil)
> (c:AecDcSetImpTitleMarks)
> (command "_AECAnnoSymbolAdd" "Symbol" "Title")
> )
> )
>
> If the block I want is already there, I it will inster it.
> If not, it opens the ADC window.
>
>
> "Rob Starz" wrote in message
> news:D7DA597583A69A0FD78EB4053EEBBED1@in.WebX.maYIadrTaRb...
> > call the command this way (c:AecDcSetImpTitleMarks)
> >
> > --
> > |
> > -+-------------------------------------------------
> > | Rob Starz
> > | Stardsign cad solutions
> > | AEC Designer / Consultant / Developer
> > | Arch Desktop tools www.stardsign.com/adtcadpacx.htm
> > | ******coming soon e-Training for ******
> > | programming Arch Desktop
> > | learn what you can do...with little input.
> >
> >
> >
>
>

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

Post to forums  

Autodesk Design & Make Report

”Boost