This blog is to share information I have gathered while transitioning from R14 to ABS 2007 to R-MEP 2012 and any other noteworthy nerd type information.
Thursday, August 06, 2009
ABS Snaps vs Osnaps with Duct and Pipe Commands
Try this fun tip: It does work for the 2010 A-MEP software!! :D
Ok, I have a way that I have "forced" this on the duct and pipe commands on the palettes.
You'll have to check for your version of the software to find out for sure what the command is for turning on/off the MEP snaps is.
I made this for ABS07, you should be able to modify it for the upper versions (I hope).
I right clicked on the duct icon on the duct palette.
Choose "Properties".
Under "Basic" there's a command section.
Click in the command section.
Here's what I have: AECBOSMODE 1023 OSMODE 0 ^C^C_AecbDuctAdd
If you use a value of 1023 for AECBOSMODE it will turn them all on.
I set OSMODE to 0 so all of the osnaps are turned off.
I made a separate "hotkey" to turn the MEP snaps back off and turns on a select few Osnaps.
Here's what I have for that key: AECBOSMODE 0 OSMODE 135
Only issue with this....you can't use the hotkeys while you're in the middle of a command.
You have to remember to use them before you initiate the command.
There is a good discussion on Autodesk's Discussion Groups about this.
I have posed this same info there as well: Autodesk MEP Discussion Group Issue Link
Script - Plot Dwg Files
; Copy and paste this code into notepad and save the file with a ".scr" extension
; This script was obtained from http://abbie-abs.blogspot.com/
;_autosnap ; changes the autosnap value
63 ; to 63
_viewres ; changes the viewres value
Y ; yes to fast zooms
100 ; value set to 100
_textstyle ; sets current textstyle
"RomanS" ; to RomanS
_ltscale ; invokes ltscale command
0.5 ; value set to 0.5
_dimscale ; invokes dimscale command
96 ; sets value to 96
_psltscale ; invokes psltscale command
1 ; sets value to 1
-purge ; invokes -purge command
Regapps ; purges regapps
* ; enters all for names to purge
N ; no to verify them individually
-purge ; invokes -purge command
A ; purges all
* ; enters all for names to purge
N ; no to verify them individually
Audit ; invokes audit command
Y ; yes to fix any errors detected
Qsave ; saves the drawing
Script - Background-Xref Files
; Copy and paste this code into notepad and save the file with a ".scr" extension
; This script was obtained from http://abbie-abs.blogspot.com/
;
_autosnap ; changes the autosnap value
63 ; to 63
_viewres ; changes the viewres value
Y ; yes to fast zooms
100 ; value set to 100
_textstyle ; sets current textstyle
"RomanS" ; to RomanS
_ltscale ; invokes ltscale command
48 ; sets value to 48
_dimscale ; invokes dimscale command
96 ; sets value to 96
_psltscale ; invokes psltscale command
0 ; sets value to 0
-purge ; invokes -purge command
Regapps ; purges regapps
* ; enters all for names to purge
N ; no to verify them individually
-purge ; invokes -purge command
A ; purges all
* ; enters all for names to purge
N ; no to verify them individually
Audit ; invokes audit command
Y ; yes to fix any errors detected
Qsave ; saves the drawing
Script Fun Is About to Begin!
I have not forgotten about you all...I have been busy adding new content to my reference guide.
I will be posting my new info here for you all to utilize as well.
I hope it helps!
I have created a few script files to help my dept out.
We have "background" files that we xref into "plotting" files.
We work in the background files and we print/plot from the plotting files.
(sounds self-explanatory enough, eh?)
In order to keep all of our scales correct and our files clean I have created a couple of script files.
If you would like to use them please make sure you denote that you found them here.
http://abbie-abs.blogspot.com/
I will post the scripts separately.
Enjoy!