Jump to content

Recommended Posts

Posted

Hi,

 

Someone knows why this code doesn't work?

 

 (action_tile "rensa"
    "(command \"_.insert" "T:\\DUE\\Dimritning\\L3\\DUe_stativL3_v.dwg\" \"0,0\" \"1\" \"1\" \"0\")"
 )

 

/Dan

Posted

You are missing a few escape characters:

 

(action_tile "rensa" "(command \"_.-insert\" \"T:\\DUE\\Dimritning\\L3\\DUe_stativL3_v.dwg\" '(0 0 0) 1.0 1.0 0.0)")

Though, there are restrictions on what may be evaluated whilst a dialog has focus (since standard DCL only permits modal dialogs).

Posted

or

(action_tile "rensa" ([color=blue]vl-prin1-to-string (quote[/color] (command "_.insert" "T:\\DUE\\Dimritning\\L3\\DUe_stativL3_v.dwg" "0,0" "1" "1" "0")[color=blue]))[/color])

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...