View Full Version : Command documentation?
JLSelf
10-07-2009, 08:24 AM
I just found out about the chgitype command from the forum here, and then guessed at chgiloc, these two commands will save me a boat-load of time and I was wondering. Is there a list somewhere of commands like this that don't exist within the contextual menu's of P&ID and P&ID tools?
Thanks,
Jason
PeterJ
10-07-2009, 01:51 PM
these commands are in the menu !
-chgiloc is in pid-tools/update/properties ('Change instr location')
-chgitype is 'change bubble type' in the contextual menu. (added in XM)
Zortar
10-07-2009, 03:24 PM
Anytime you need a list of (all) non-native commands available in AutoCAD you can type (atoms-family 1) at the command line. Commands starting with c: can be typed without parentheses. The list may be long, but it is worth parsing through. Copy it from the AutoCAD text screen, paste it into a text editor and have fun exploring!
Rijkwerd
10-08-2009, 03:06 AM
Hey J,
That worked great, thanks very mutch, I was looking for this. But what does that adams family command do, whats it for hat did I just do?
JLSelf
10-08-2009, 06:11 AM
Thanks. I wasn't expecting it to be in update.
FYI: Neither of those commands appears in the atoms-family
PeterJ
10-08-2009, 11:06 AM
Some AutoPLANT commands are only loaded the first time that they are launched.
ps : you can also launch the following on the command line
(foreach s (atoms-family 1) (if (= "C:" (substr s 1 2)) (print s)))
that will show all C:commands in a single list, but with a limitation :
From version 2000 the number of lines in text window is limited to 400 lines.
If you want to keep longer text outputs, use the LOGFILEON and LOGFILEOFF commands to log text outputs to a .LOG file.
Use LOGFILEPATH to set the location of the log (a . sets it in the same folder as the drawing)
PeterJ
10-08-2009, 11:56 AM
and to be complete :
LOGFILEMODE will set a switch that maintains the log file when the drawing is closed
LOGFILENAME can set the name of the log file (default name is based on drawing file name)
PeterJ
10-08-2009, 12:06 PM
in stead of a log file, you can also enter
(setenv "CmdHistLines" "1000")
to set the number of lines in the text window up to 2048.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.