Print Page | Close Window

Modification of Dim Comand

Printed From: CAD Forum
Category: EN
Forum Name: CAD - general
Forum Description: General discussion about CAD, formats, standards, management, licensing, networking, harware, other CAD applications
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11019
Printed Date: 10.Jun.2026 at 11:17


Topic: Modification of Dim Comand
Posted By: rdruillet
Subject: Modification of Dim Comand
Date 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



Replies:
Posted By: John Connor
Date 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>>



Posted By: rdruillet
Date 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


Posted By: John Connor
Date 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>>



Posted By: rdruillet
Date 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


Posted By: John Connor
Date 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>>



Posted By: rdruillet
Date Posted: 27.Feb.2015 at 23:03
thanks, I will try it.

-------------
Ricardo Druillet



Print Page | Close Window