How to add a extra function for expressions

rajendra.meenaMZ6F3
Enthusiast
Enthusiast

How to add a extra function for expressions

rajendra.meenaMZ6F3
Enthusiast
Enthusiast

How to add an extra function for expressions if it is not available please refer attached image

0 Likes
Reply
486 Views
9 Replies
Replies (9)

andrewpuller3811
Advisor
Advisor

what functions are you looking to use that are not listed?

 

Sometimes you can copy expressions from other areas of civil 3d and use them even if they are not listed.

 

Depending on what you are looking to do, you may be able to construct an expression and reference it from the expression you are working in.



If a post provides a fix for your issue, click on "Accept as Solution" to help other users find solutions to problems they might have that are similar to yours.

Andrew Puller
Maitland, NSW, Australia
Windows 11
Intel core i7 11800 @ 2.30 GHz with 32GB Ram
Civil 3d 2023
0 Likes

rajendra.meenaMZ6F3
Enthusiast
Enthusiast
andrewpuller3811, let us say I want to add curve no expression in curve alignment table labeling.
0 Likes

rajendra.meenaMZ6F3
Enthusiast
Enthusiast
if you have any demo video you can share with me.
0 Likes

Pointdump
Mentor
Mentor

Hi Rajendra,
Please share a screen shot of a curve and how you would like it labelled.
Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2024
0 Likes

rajendra.meenaMZ6F3
Enthusiast
Enthusiast
hi @Pointdump I uploaded an image of curve labeling you can review it.
0 Likes

rajendra.meenaMZ6F3
Enthusiast
Enthusiast
how I can add an expression for curve number here because it is not available in the list?
0 Likes

ChrisRS
Mentor
Mentor

As is often the case with Civil 3D, the answer is no ... and sometimes Yes.

  1. I think that you have already been given the best available information.
    In general, the answer is no.
  2. You did not ask directly, but there may be a solution to the specific curve number problem you mentioned.
    You do not say, and it would be nice if you did, but it looks like you are working with Alignment labels. If so:
    1. The "Alignment Line Segment Number" and "Alignment Curve Segment Number" properties are probably what you are looking for.
    2. Cutting and Pasting or manually entering these properties into the expression editor does not work. These properties are not available to the expression engine. There may be a good reason, but it appears to be a secret. 
    3.  These properties are, however, available to the Label Style Composer (LSC) and are, in fact, already used by the Tag components.
    4. The illustration shows modified Tag components used in labels. 
      Tags are visible in "Label and Tag Modes," and the anchor component was changed. (These properties can be used directly in their own text component.)
    5. Tags can be manually updated via EDITTAGNUMBERS or by clicking Renumber Tags on the toolbar. The label must be in Tag mode to do this. 

ChrisRS_0-1678384530154.png

 

Here is a link that may be helpful: 
Solved: Alignment Curve Segment Number - Autodesk Community - Civil 3D

 

I have not investigated their use in tables.

That's all I got. I hope it helps.

The drawing file is attached for your convenience.

 

Good Luck!

Christopher Stevens
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

rl_jackson
Mentor
Mentor

I'm wondering if property data might not be a solution, expressions are also available there and to labels... Investigation needed.


Rick Jackson
Survey CAD Technician VI

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

rajendra.meenaMZ6F3
Enthusiast
Enthusiast
It works when you apply for single segments in the Indian tool kit once I apply multiple segments with the table it does not give a curve also if add an expression alignment segment curve it starting value is 100 .
0 Likes