Jump to content
twaikin

How to get rid of decimal places with #Landscape Area#.#area# on a data tag

Recommended Posts

Hi all. I am still having trouble with decimal places on the data tag, especially with #Landscape Area#.#area# and plant quantity.

 

The problem: Too many decimal places on a data tag. I want to get rid of all decimal places. Pretty obvious this is not governed by the overall units setting.

686817846_ScreenShot2020-05-15at18_08_51.thumb.jpg.be233c4c934a1039f79b8e4de6e1b493.jpg

 

I followed the solution in another thread (See below) to remove decimal places for plant quantity. But similar approach didn't work for #Landscape Area#.#area#. No matter which Number Format I choose, the decimal places remain on the data tag.

 

Any idea?

 

1914137525_ScreenShot2020-05-15at18_09_11.thumb.jpg.e962ed4de75f183d95ffe5397b8a3f81.jpg

234390345_ScreenShot2020-05-15at18_10_11.thumb.jpg.dd47ab2fc743421742f61cbe479880e3.jpg

 

Screen Shot 2020-05-15 at 18.09.11.jpg

Share this post


Link to post

I believe you have to add the formatting into the data tag itself.

 

Either Edit the Tag Style or if you only want to change it for a single tag convert it to Unstyled and then edit the tag.

 

Bottom of the OIP click the Edit Tag Layout button.

Select the text block that represents the field you want to change the formatting for.

Botton of the OIP click the Define Tag Field button

In the dialog box that opens

    delete the "formula" that is currently in the Current Tag Definition Field

    set the units to something other than Document Preferences

    set the Precision to the number of decimal places you want.

CLICK THE ADD TO DEFINITION BUTTON (Yes, I am yelling because about 90% of the time I forget this step and have to do the whole thing again). ;-)

Click OK

Click Exit Tag Layout Edit

 

Once you figure out how it works, you can actually just type for format you need into the Current Tag Definition field.

 

HTH

  • Like 1

Share this post


Link to post

You were so close!

Do the same steps you were doing in the 'Record Format Connection', but edit 'Plant Record' instead of 'Landscape Area'.

Edit the 'Quantity' definition from 'Decimal' to 'General'.

 

 

  • Like 1

Share this post


Link to post

I’m trying to do the same thing with Area and Function in the Space Tool Label (not a data tag):

 

1881241699_ScreenShot2020-12-21at4_36_27PM.thumb.png.73b77bcb3bc1c339479c28a00db93252.png

 

For Area, I would like to add a separator.

 

For the function (Mac Occupancy), I would like to remove decimals.

 

However, I can’t seem to edit the Record Format Connection. Text, Number, and Integer seem hardwired in there… 

 

Share this post


Link to post

I believe that one of the reasons the  Data Tag object was created was that the individual object tags (like the Space label) were not flexible enough to allow you to change the units. You may be out of luck.  :-(

 

Share this post


Link to post

OK, I’m sure it’s only a matter of time before this bites me in the arse but here’s a workaround:

 

1. Change document units for Area > Unit Mark to a [space] (highlighted in light blue below):

 

1918665360_ScreenShot2020-12-22at6_27_03PM.thumb.png.c02bb189b17b72446c6417c437c25ee3.png

 

2. Add “sq ft” (or ft² or whatever you want) to the end of the Data Tag formula for:

  • Gross Area
  • Net Area
  • Load Factor

429945763_ScreenShot2020-12-22at6_25_59PM.thumb.png.64f9b883fc6f5a79a1181c30be696736.png

 

That solves everything except the thousands separator which I believe is a much deeper rooted issue:

 

2048435214_ScreenShot2020-12-22at6_27_23PM.thumb.png.6a965b1171b03ecfa31508f4818f70e2.png

Share this post


Link to post

Nope; spoke too soon… 

 

I had manually entered the load factor in the data tag:

 

1386740017_ScreenShot2020-12-22at6_53_40PM.thumb.png.a4ef22a6cb7416ed6726f7e81be14c1c.png

 

But when I switch it back to the formula pulling the load factor value from the OIP:

 

261306206_ScreenShot2020-12-22at7_01_26PM.thumb.png.52464be8b0eee1876ac8c3e28465061b.png

 

I get this output, so I’m right back where I started:

 

302857000_ScreenShot2020-12-22at6_57_02PM.thumb.png.de600ec66890d3b28ad4957e8f121a34.png

Edited by Mark Aceto

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...