Print Page | Close Window

Change units of ContourAutoLabel2

Printed From: CAD Forum
Category: EN
Forum Name: ARKANCE (CAD Studio) applications
Forum Description: Questions and discussion about applications by ARKANCE and Be.Smart - RevitTools (T4R), X-Tools (T4I), Civil Tools, DWGtext, GeoRefImg, XLSparam, FLAY, Furniture, LT Extension,...
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13695
Printed Date: 20.May.2026 at 03:50


Topic: Change units of ContourAutoLabel2
Posted By: pixel8er
Subject: Change units of ContourAutoLabel2
Date Posted: 15.Apr.2022 at 05:52
Good morning, 

Is it possible to edit this block  https://www.cadforum.cz/catalog_en/block.asp?blk=5224" rel="nofollow - https://www.cadforum.cz/catalog_en/block.asp?blk=5224  so that a conversion factor of 0.001 is applied?

I have tried, but the conversion factor option is greyed out.

I work in millimetres but want the contour label to read in metres.

Thanks in advance for any suggestions

Paul




Replies:
Posted By: Vladimir Michl
Date Posted: 15.Apr.2022 at 10:57
Here is the version with the applied conversion factor:
uploads/3/ContourAutoLabel2.dwg" rel="nofollow - uploads/3/ContourAutoLabel2.dwg


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: pixel8er
Date Posted: 16.Apr.2022 at 03:56
Thanks so much Vladimir!

Out of interest, how did you add the conversion factor code to the field expression?

%<\AcObjProp.16.2 Object(?BlockRefId,1).InsertionPoint \f "%lu2%pt4%pr2%zs8%ct8[0.001]">%

Thanks again
Paul




Posted By: Vladimir Michl
Date Posted: 16.Apr.2022 at 07:32
In some cases, you cannot select the codes interactively, by clicking in the Field dialog. But you can always edit the field code manually and paste it into the appropriate place - in the MText text, or in the Attribute dialog as in this case.



-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: pixel8er
Date Posted: 16.Apr.2022 at 09:10
That is so good!

I didn't realise that you could paste the field code directly into the attribute dialogue field.

Thanks again Vladimir.



Print Page | Close Window