
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.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
Author |
Topic Search Topic Options
|
rdruillet
Newbie
Joined: 26.Feb.2015
Location: United States
Using: Autocad
Status: Offline
Points: 5
|
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
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
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>>
|
 |
rdruillet
Newbie
Joined: 26.Feb.2015
Location: United States
Using: Autocad
Status: Offline
Points: 5
|
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
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
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>>
|
 |
rdruillet
Newbie
Joined: 26.Feb.2015
Location: United States
Using: Autocad
Status: Offline
Points: 5
|
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
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
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>>
|
 |
rdruillet
Newbie
Joined: 26.Feb.2015
Location: United States
Using: Autocad
Status: Offline
Points: 5
|
Posted: 27.Feb.2015 at 23:03 |
thanks, I will try it.
|
Ricardo Druillet
|
 |