AUTOCAD
SCALE FACTOR USING ENGINEERING UNITS
MISSING TOOLBARS
OBJECT CYCLE
SDI-SINGLE OR MULTIPLE DRAWING SETTING
TEXTTOFRONT
IMAGEFRAME
ATTSYNC
RECOVERALL
CONVERTPSTYLES
TRAYNOTIFY
PARTIALLY OPEN DRAWING
DISABLE TRUSTEDDWG NOTIFICATION
BURST AGAINST EXPLODE
CHANGE SPACE
REMOTE TEXT DIESEL
LINE TO POLYLINE
AUTOCAD BATCHPLOT
ROTATING A VIEWPORT
MY FAVORITE AUTOCAD LISP
SCALE FACTOR USING ENGINEERING UNITS
Using engineering scale units in view port is very confusing if you are not a
civil engineer. Engineering units is very useful if you have a very large
project which is not fit in a sheet if you are using architectural units. For
architects most of the drawings are done in architectural units and if you
import civil drawing it was scaled as engineering units and if you need to
make a view ports and need to make it engineering units here are the scale.
Factors you need to use:
Scale 1": 10' - Factor in decimal - 0.00833333
Scale 1": 20' - Factor in decimal - 0.00416667
Scale 1": 25' - Factor in decimal - 0.00333333
Scale 1": 30' - Factor in decimal - 0.00277778
Scale 1": 40' - Factor in decimal - 0.00208333
Scale 1": 50' - Factor in decimal - 0.00166667
Scale 1": 60' - Factor in decimal - 0.00138889
Scale 1": 70' - Factor in decimal - 0.00119048
Scale 1": 80' - Factor in decimal - 0.00104167
Scale 1": 90' - Factor in decimal - 0.00092593
Scale 1": 100' - Factor in decimal - 0.00083333
Scale 1": 1000' - Factor in decimal - 0.00008333
MISSING TOOLBARS
The TOOLBAR command will allow you to "float" the missing toolbar in the middle of your screen; effectively moving it to visible location.
Step 1: Key in the command -TOOLBAR to run the command without dialogs.
Step 2: Enter the toolbar name; in this case the DRAW toolbar.
Step 3: Key in F to float the toolbar anywhere on your screen.
Step 4: Key in a new XT pixel position on your screen. 0,0 will float the toolbar in the upper left corner of your screen.
OBJECT CYCLE
In AutoCAD 2007 and 2008 you can use SHIFT+SPACEBAR to cycle between overlapping objects. Once you have selected the object you can release the SHIFT key and just continue to hit the SPACEBAR until the object you want is highlighted. Then proceed with your desired command.
SDI - Single/Multiple Drawing Setting
Type SDI in command prompt the enter 1=Single 0=Multiple
TEXTTOFRONT
will change the draw order for every piece of text in your drawing, and bring it to the front. In fact the command is broken into 3 parts; you can just bring text to the front, dimensions to the front, or both text and dimensions to the front. Press [Enter] and your text playing hide-and-go-seek will be found, plotting in front of your WIPEOUT’s once again.
IMAGEFRAME
is set to “2" then you will see the frame when working in your drawing, but the border will not plot. Keeping with the theory that “2" is better than “1",(visible border of frame) and certainly better than “0" (invisible border or frame).
ATTSYNC
Attributed blocks can be incredibly powerful, but they do sometimes have their issues. the attribute text was defined correctly in the AutoCAD Block Editor (BEDIT command), but displayed the incorrect text style in the drawing itself. ATTSYNC command solved it you can type the name of your stubborn attributed block, or just select it, and just like that - problem solved!
RECOVERALL
better than AUDIT or RECOVER it is able to simply point AutoCAD to drawing sheet, and it did the rest. It ran a recover not only on drawing sheet, but also model (reference) drawings; correcting errors along the way.
CONVERTPSTYLES
converts a currently open drawing from color-dependent plot styles to named plot styles, or from named plot styles to color-dependent plot styles, depending on which plot style method the drawing was created and saved with.
How to Disable the Annoying Notification Tray.
Type in the command line the "TRAYNOTIFY" and set it 0.
PARTIALLY OPEN DRAWING
In AutoCAD 2009 if the drawing you open is partially open you will not able to purge it. For you able to purge it you need to open the drawing in full, to do that open a drawing then on the right side of open button click the small arrow down and pick partial open the dialog box pop up and check load all then click OPEN.
How to disable TrustedDWG notification
This is how you get rid of it. go to the very bottom of autocads window.. next to the LOCK toolbars icon.. Then hit the arrow next to it.. Its called the status bar menu.. You will see (Tray Settings)--now un-check the (Display icons from services)
BURST AGAINST EXPLODE
BURST Command is used to explode a block with attribute so that it turn the attribute text into a regular text.
CHANGE SPACE
If you like to copy an element or text from paper space to model space or vice versa without scaling use the command CHSPACE.
REMOTE TEXT DIESEL
RTEXT - objects are displayed the same way normal Text or MText objects are displayed, but the source for the text is either an external text file or the value of a DIESEL expression. You can edit an RText object with the RTEDIT command.
Here are sample of some Diesel Expression:
$(upper,$(getvar,”loginname”)) - to show the user who are using the drawing.
$(upper,$(getvar,”dwgprefix”)$(getvar,”dwgname”)) - to show the drawing filename with path.
$(upper,$(getvar,”ctab”)) - to show the layout tab name of the drawing.
$(upper,$(xrefs , ,)) - to show x-references attached in the drawing.
$(upper,$(images , ,)) - to show images attached in the drawing.
$(edtime,$(getvar,date),MO/DD/YYYY) - to show date in numbers only.
$(edtime,$(getvar,date),HH:MM:SS AM/PM) - to show current time.
$(edtime,$(getvar,tdcreate),DDD”, “D MON YYYY) - to show date the file created.
$(edtime,$(getvar,tdupdate),DDD”, “D MON YYYY) - to show date the file last updated.
$(edtime,$(getvar,date),DDD”, “D MON YYYY) - to show current date on words and numbers with day.
RTEXT supports Drawing Propertiesdwgprop@acad.hlp>main through a locally defined $(getprop) DIESEL function. With (getprop), user and certain system generated text strings displayed in the Drawing Properties dialog box tabs can be extracted and displayed as RTEXT.
The syntax for the (getprop) DIESEL function:
$(getprop, property name)
"property name" can be any of the following fields from the PROPERTIES command:
Title
Subject
Author
Comments
Keywords
LastSavedBy
Revno
%custom Property
"custom Property" is the name of a user-supplied field from the Custom tab.
LINE TO POLYLINE
Convert muliple lines to Polyline in just one click of a button. How it works? select all line using cross fence selection once highlighted click the cutomized button once and all your selected lines are converted to poly line.
Heres how to create the button:
1.Click tool menu then cutomized, In Cutomize User Interface(CUI) panel create a new command.
2.Once you created the new command, highlight it on left panel and it will show the properties in right panel.
3.In button Image panel, choose icon or create your own.
4.In Properties panel, at Macro line put this code: ^C^C_mpedit;;;^C then press OK.
5.That's it. Enjoy!
AUTOCAD BATCHPLOT
Use PUBLISH as batchplot in AutoCAD. From file menu go to Publish then select or add files that you want to plot. Make sure you setup the plot setting like plotter, plotstyle, paper size, etc. then add a new page setup on the plot dialog box in first file. Once you added the file you like to plot highlight it then select the created page setup on the first file (top most) then all added file will all the same setup as the first file. Then click Publish button.
ROTATING A VIEWPORT
The basic steps in rotating the viewport in paperspace, are as follows:
Step 1. On paperspace double click the viewport you like to rotate.
Step 2. On that viewport change the UCS to your desired angle rotation at Z axis as origin.
Step 3. Once the UCS is rotated type "PLAN" on command line and hit ENTER key. The drawing will then rotated along with the current UCS.
Step 4. Change the zoom factor to your desired scale.
Step 5. Go back to paperspace and locked the viewport to avoid accidental changes.
The appearance of the page will not have changed at all, but the purpose of HTML is to apply meaning, not presentation, and this example has now defined some fundamental elements of a web page.