weslleywang / myCADnotes

Collections of random CAD notes - tips tricks from the inter-webs-tubes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

myCADnotes

collections of random CAD notes - tips tricks from the inter-webs-tubes lots of information floating around in regards to what I'm working on, so I wanted a place to house everything accesbile from any device I may happen to be on.

kinda like a blog - saw a few other devs use this to stash links to resources, so I figured what the heck

if I forget to give credit for something you wrote, drop me a line or comment, I want to be sure everyone gets proper credit, but also - you might have a newer better version of what Im sharing here, win win =)

" .. On startup, the first things AutoCAD loads are its CUI files. It first loads the Enterprise CUI file, then the Main CUI file, then any partial CUI files attached to the Main, then any partial CUI files attached to the Enterprise. I have no idea of the reasoning behind this slightly strange order, but .."

This file (forgot where I absconded it from - if its yours let me know) shares a lot fo the system variables in cad that we may overlook or forget about until something acts wonky. good for a reset kinda routien, although I also include resetting my text and dimstyles as well for a full reset.

.. some examples
(setvar "DYNMODE" -1)             ; pointer dynamic input mode to -1
(setvar "VTDURATION" 0)           ; zoom sin transicion
(setvar "VTFPS" 1)                ; minimum speed of a smooth zoom transition, in frames per second
(setvar "MBUTTONPAN" 1)           ; supports panning when you hold and drag the button or wheel
(setvar "COORDS 2")               ; shows coordinates, and polar ones if possible
(setvar "PEDITACCEPT" 1)          ; automatically convert lines and arcs to polylines
..

This bad boy is from a fellow git user dtgoitia, it has a lot of "poweruser" type routines. if you do any type of programming that "dump" routine is pretty sexy. examples :

  (defun c:iso() (command "_.isolateobjects") ..
  (defun c:iso() (command "_.isolateobjects")..
  (defun c:uiso() (command "_.unisolateobjects")..
  (defun c:c ( / ent_name ); Fast copy ..
  (defun c:m ( / ent_name ); Fast move ..
  (defun c:p0() ;;paste blk at 0,0 ..
  (defun c:n() (command "_.NCOPY" ..
  (defun c:t () (command "_.textedit" ..
  (defun c:pp()(command "_.publish" ..
  (defun c:BYR ;Set bylayer recursive ..
  (defun c:c0() ;;copybase blk at 0,0 ..
  (defun c:cl ( Close selected polylines ..
  (defun c:dump ; Print object methods and attributes..

About

Collections of random CAD notes - tips tricks from the inter-webs-tubes


Languages

Language:Common Lisp 100.0%