macro

macro

tader1
Advocate Advocate
190 Views
4 Replies
Message 1 of 5

macro

tader1
Advocate
Advocate
Hi, can get a little help with a macro.

(command "insert" "tick.dwg" "S" lts TickerPoint ang "" "")
doesn't work when
lts 30.0
tickerpoint (126.34 10.7243 0.0)
ang -66.3458
Still inserts the dwg, but something's not quite right.
TIA, Shawn
0 Likes
191 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Shawn,

remove last two double quotes.
try this, it works for me.
(command "insert" "tick.dwg" "S" lts TickerPoint ang)

Amit Vedak
Devyani CAD Software Developments
Web Site:- http://www.devcs.com
Email:- amit@devcs.com
0 Likes
Message 3 of 5

Anonymous
Not applicable
If the osmode is set to a value other than 0 it snaps to the snappoint

if it so than you can try

(command "insert" "tick.dwg" "S" lts "_NON" TickerPoint ang)

good luck

Harrie
0 Likes
Message 4 of 5

Anonymous
Not applicable
Hi Shawn,
I think more correctly yet you will turn off
echo and snap before and don't forget 'bout minus sign
in front of 'insert':

[code]
(setvar "cmdecho" 0)
(setvar "osmode" 0)
(command "-insert" "tick.dwg" "S" lts TickerPoint ang)
(setvar "osmode" 703);your old snap here
(setvar "cmdecho" 0)
[/code]

HRU?

~'J'~
0 Likes
Message 5 of 5

tader1
Advocate
Advocate
Hi guys, thnx for the input. I've always had problems with macros... I don't know why. I'll try the suggestions.
0 Likes