Should this be possible to do?
I want a line in surface slope style but with length from expression. I created expression with percent format under Surface/Label Style/Slope. Created a new style under same label type, created a line component in label style composer and selected "Percent Length" under "Length Type" parameter. In "Percent Length" parameter I can select expression created earlier, but I got "Invalid input" message. I tryed to format expression as double and set value lower than one but got same message.
Mark Green
Working on Civil 3D in Canada
You can set expression to be any floating number, the message "Invalid Input" happens in Label Style Composer when trying to set expression as "Percent Length" property value of Line component.
The purpose of this is similar to trick used when trying to show and hide text by setting text component height using expression. So why not use expression in percent length of line component?
Mark Green
Working on Civil 3D in Canada
I don't know why it won't allow your expression when you use Percent Length, but you can use Fixed Length and have your expression calculate and supply the percent.
I'm already using fixed length as only possiblity to use expression in line component length. Thank you for your time.