Hi All,
I found this lisp that would be really helpful at work, trouble is I can only get it to work partially.
In short it creates a revision cloud and then inserts a revision tag (a triangle which is saved as a different drawing), the final stage is inserting the revision number(which is entered by user, say 3 for example) in the revision tag.
I get to the part where it inserts the revision tag, and then I get the error message:
Place the cloud's tag: Unknown command "3". Press F1 for help
Here is part of the code:
(setq m:REVNUM (getstring "\nEnter the revision set: "))
few lines of code later
(setq m:PLACETAG (getpoint "\nPlace the cloud's tag: "))
(command "._insert" "cloudtag" m:PLACETAG (getvar "DIMSCALE") "" "0" m:REVNUM)
I believe its something to do with syntax, I want to enter the value stored in m:REVNUM but somehow Im missing something.
If it helps Im using Autocad 2010
To view complete code: http://delapp.com/cad/lisp/revcloud.lsp