Jump to content

Getting started with scripts...resources?


Recommended Posts

Posted

We have a small office, and I'm trying to get things a bit more standardized, so I've started to look at scripting. I've found some good tutorial resources (such as Ralph Grabowski's lessons on the upfrontezine website, among others here and elsewhere.) What I'm having trouble finding is a list of the commands that are, and are NOT, available to scripts, as well as the subcommands within each command (unless, of course, the list within the help file is pretty much the extent of it...but it doesn't seem to be, so far - some work, some don't.) I've been trying to investigate by trial and error...but hey, I'm on the clock here.:wink: If there's a place I can find such a list, I'd greatly appreciate a url. Google has not been my friend, and the Autodesk site hasn't yielded up its secrets to me.

 

Tangent: what I'm trying to do at the moment is automate loading base-plan xrefs into a sheet file viewport as plan/demo plan etc, which I've had some success with, but I still need the innards of the layer controls having to do with viewport visabilty/line type etc. Am I better off looking at macros for this? (Note: we use AutoCAD LT, which does not allow the use of the "action recorder," nor can we use AutoLISP.)

 

(so...this is my 3rd attempt to post this...apoligies in advance if I get multiple posts.)

Posted

up until now the only commands that don't work are new ones that use a dialogue box, such as Find & Replace. Older commands that use dialogue boxes have a command line equivalent which can be called by adding a - infront of the command, such as use -INSERT rather than INSERT. Since I mainly use old commands I haven't found much, other than F&R that can't be done in script.

Posted

Thanks for the reply, Dave. I'm thinking I may have solved at least part of my difficulty - I hadn't really looked as closely at the F1 menus as I should have. The information I need is in there, just a step down from where I was looking, and not exactly in the format I expected.

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...