Display full version of the post: Change units of ContourAutoLabel2
pixel8er
15.04.2022, 05:52
Good morning, Is it possible to edit this block 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 suggestionsPaul
Vladimir Michl
15.04.2022, 10:57
Here is the version with the applied conversion factor:uploads/3/ContourAutoLabel2.dwg
pixel8er
16.04.2022, 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 againPaul
Vladimir Michl
16.04.2022, 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.
pixel8er
16.04.2022, 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.