AI Assistant
Notifications
Clear all

Alternate Units in C3d labels

17 Posts
8 Users
0 Reactions
927 Views
Andy Nold
(@andy-nold)
Posts: 2022
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Does anyone know how to set up a line and curve label that will use and alternate unit of measure? I am trying to label in varas, which is 33-1/3 inches per vara. I suppose I could set something up in the dimensioning routines, but you would think alternate units would be doable in the annotation menu.


 
Posted : March 9, 2011 4:07 pm
Andy Nold
(@andy-nold)
Posts: 2022
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Ideally, I suppose the drawing could just be scaled down to varas and then the annotation labels changed to vrs., but it seems like there should be some method of entering a conversion factor. Somewhere.... Otherwise, it's off to the calculator and manual label entry.


 
Posted : March 9, 2011 4:23 pm
Bryan Newsome
(@bryan-newsome)
Posts: 427
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Edit your label style (or save as another). Then for the "length" multiply your feet length by .36 by including the "*"

example: {Direction} {Length*0.36} v. or {Length}')


 
Posted : March 9, 2011 4:24 pm
Andy Nold
(@andy-nold)
Posts: 2022
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Hmmm... Not sure how to multiply the length. Are we talking about working in the text component editor? when I add the *.36, then my resulting label is 5281.74'*.36


 
Posted : March 9, 2011 4:28 pm
stephen-ward
(@stephen-ward)
Posts: 2244
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Below is a "how-to" from LDD2 that will give you length in feet with length in meters following in brackets. I'm sure you can modify the procedure to get varas, and configure the layout of the label to your needs.

Copied from LDD2 Help:

You can use a formula to label a line with both feet and meters.

To set up a label style that labels both feet and meters

From the Labels menu, choose Edit Label Styles to display the Edit Label Styles dialog box.
Click the Line Label Styles tab.
From the Name box, select direction above, distance below. In the Text Below box, {Length}' is displayed. This labels the line with its length, followed by a ' (foot) symbol.
You can now use a formula to label the distance in both feet and meters.

From the Data list, select Length.
Click Text Below.
You now have two Length entries in the Text Below box. One labels the length in feet. You can edit the second entry so that it labels the length in meters.

In the Text Below box, place your cursor after the second Length entry (but inside the closing curly bracket).
Press SPACEBAR and then type * .3048, the conversion factor for feet to meters. The asterisk, *, is the formula symbol for multiplication.
Type m for meters after the closing curly bracket, and place straight brackets [ ] around the metric length entry so that the Text Below box appears as follows:
{Length}' [{Length * .3048}m]

Click Units to display the Linear Units dialog box.
In the Linear box, type 2. This labels the line length in feet with a precision of 2.
In the Formula box, type 3. This labels the line length in meters with a precision of 3.
Click Save to save the style.
Click OK to exit the dialog box.


 
Posted : March 9, 2011 4:30 pm

Bryan Newsome
(@bryan-newsome)
Posts: 427
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

use the example above, including brackets and parenthesis

(cut & paste the example)


 
Posted : March 9, 2011 4:30 pm
Andy Nold
(@andy-nold)
Posts: 2022
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

OK, let me see if the solution above does anything for me...


 
Posted : March 9, 2011 4:32 pm
Andy Nold
(@andy-nold)
Posts: 2022
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Nope, pretty much same result. Civil3d is a major paradigm shift in how stuff works. Unless I'm just not getting something, the LDD directions do not work.


 
Posted : March 9, 2011 4:45 pm
Bryan Newsome
(@bryan-newsome)
Posts: 427
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

my mistake Andy...
I was excited about solving your problem and failed to acknowledge the C3D dilemma.
I have explored C3D, but that was 2 years ago. I am back on R16


 
Posted : March 9, 2011 4:52 pm
a-harris
(@a-harris)
Posts: 8759
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

I have questioned software makers since the mid 80's as to why their software is not set up for the different units surveyors use, especially within their Surveyor directed software.

Carlson did equip his Surveyor1 Cogo with the ability to input a number and input a math function and input the conversion factor (27/0.36) and the result would be input into the works (75).

Still, while working in CAD, I label in feet and manually change/replace and type in the unit (vara)(vr) or just (v) or to go into setting and change the units suffix when changing between the two and come back thru and edit the numbers.

Like you said, "you would think alternate units would be doable".

You are correct, when your units are in varas, the scale should be in varas.


 
Posted : March 9, 2011 4:52 pm

DEREK G. GRAHAM OLS OLIP
(@derek-g-graham-ols-olip)
Posts: 2054
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

I've tried for eons to get Microsurvey to write a small program so one could hover over a dimension and with a .............. "Click",

Presto !! it is converted to another unit with colour and italic options.

No luck yet.

Maybe Wendell, you might ask ?

Cheers

Derek


 
Posted : March 9, 2011 5:18 pm
Steve Boon
(@steve-boon)
Posts: 390
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

What you're looking for is called an Expression in Civil3d. If you check the Settings tab in your Toolspace dialog you will find that just about anywhere there is a set of Label Styles there will also be an Expressions button at the bottom of the group.

Once you start a new expression you can use any of the values that would normally be available for that type of label, plus the built in formulas and mathematical operators to produce whatever you need. Then when you create or edit a label style you can use the expression instead of one of the defaults.

You can also use them in other ways to control labels. I have an expression for alignment curves which returns +90 or -90 depending on the direction of curvature, and I use that to set the rotation of the text so that it always follows an up-chainage orientation.


 
Posted : March 9, 2011 7:13 pm
Andy Nold
(@andy-nold)
Posts: 2022
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

EXPRESSIONS! Yes.

Thanks Steve. I was able to google enough to figure out expressions would probably help, but not enough time to figure out how to put one together. I'll try again tomorrow.


 
Posted : March 9, 2011 8:37 pm
Steve Boon
(@steve-boon)
Posts: 390
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

EXPRESSIONS! Yes.

Andy here's my version of the expression and the label style for ACad lines. Not sure if the images will work or not, but let's see what happens.


 
Posted : March 9, 2011 11:41 pm
Andy Nold
(@andy-nold)
Posts: 2022
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

EXPRESSIONS! Yes.

Success! Thanks Steve.


 
Posted : March 10, 2011 9:12 am

RFB
 RFB
(@rfb)
Posts: 1503
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

> I have questioned software makers since the mid 80's as to why their software is not set up for the different units surveyors use, especially within their Surveyor directed software.
>

I've been doing this with ACAD for 15 years now.

:coffee:


 
Posted : March 10, 2011 12:02 pm
Georges
(@georges)
Posts: 356
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

For the Maysville software users:

change your reporting scale factor to 0.36
change annotate defaults (add second scaled distance option)

:beer:


 
Posted : March 10, 2011 12:48 pm