CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 7948
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

 

HelpCAD discussion

 
CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.

How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedModification of Dim Comand

 Post Reply Post Reply
Author
rdruillet View Drop Down
Newbie
Newbie


Joined: 26.Feb.2015
Location: United States
Using: Autocad
Status: Offline
Points: 5
Direct Link To This Post Topic: Modification of Dim Comand
    Posted: 27.Feb.2015 at 21:41
HI EVERYBODY, long time ago (in 2004 version) I went from 2004 to 2014 in one jump. I had modified the dim command to send him to the dim layer, before putting a dim. I lost the info, and can't find it. If somebody has it can you please help me.
I went from 2004 to 2014 in one shot.
Ricardo Druillet
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 27.Feb.2015 at 22:24
Can we assume that your template file already has a dimension layer included?  Should that be the case then at least the modification won't have to make the layer first.

Which dim command are we talking about?  DIMLINEAR?
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
rdruillet View Drop Down
Newbie
Newbie


Joined: 26.Feb.2015
Location: United States
Using: Autocad
Status: Offline
Points: 5
Direct Link To This Post Posted: 27.Feb.2015 at 22:29
Hi John, I just want to make the dim layer the current layer before putting the dimension, that way it saves one step. It was done in the macro of the command, I just can't remember the sintaxis.
 
Thanks
Ricardo Druillet
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 27.Feb.2015 at 22:31
Which dim command?  There are several.  DimLinear, DimAligned, DimAngular, etc.  All or one?
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
rdruillet View Drop Down
Newbie
Newbie


Joined: 26.Feb.2015
Location: United States
Using: Autocad
Status: Offline
Points: 5
Direct Link To This Post Posted: 27.Feb.2015 at 22:35
it works for all of them, it just have to be inserted in the macro before the actual command, it goes between ^C^C and "dimaligned"
Ricardo Druillet
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 27.Feb.2015 at 22:39
Edit the CUI and add the -layer command, set, and your layer name.  Don't forget the dash.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
rdruillet View Drop Down
Newbie
Newbie


Joined: 26.Feb.2015
Location: United States
Using: Autocad
Status: Offline
Points: 5
Direct Link To This Post Posted: 27.Feb.2015 at 23:03
thanks, I will try it.
Ricardo Druillet
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,354 seconds.