Community
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

showing properly the output parameter value

showing properly the output parameter value

I don´t know if it´s a bug.

For some reason, if we have a subassembly with output parameters, the output value is the reverse of the input parameter value.

 

Look at this example:

 

14.jpg

 

input parameter = 2:1     (horizontal / vertical)

 

output parameter = 0.50 = 1: 2

 

Luckily the another subassembly gets this value correctly but people could be confused with this showed value.

 

It happens the same with grade:

 

input parameter=  + 2%

 

output parameter = -2%

4 Comments
doni49
Mentor

As the person designing the SA, you control what it outputs.  Before declaring it as a bug, I'd like to examine the pkt file.

 

My point in transition SA takes a cross slope as an input parameter, performs some calculations and then returns an output parameter showing what the cross slope is at the current station.  I don't remember experiencing what you've described.

joantopo
Mentor

 

Sorry, it is only with custom subassemblies.

 

This is a basic custom subasssembly made with SAC 2015.

 

 http://www.mediafire.com/download/21rnbt14470rbr1/test_outputs.pkt

 

In Civil 3D, Slope_OUT appears with "0.5"

 

 

 

doni49
Mentor

"It is not related to custom SA.

It happens the same with stock subassemblies."

 

Ouch!  I didn't realize that's what you were saying.  I saw SAC in the image you posted and thought you had created the SA.  And since I don't understand spanish, I couldn't check anything else about the image.

joantopo
Mentor

I think that I know what´s the reason:

 

if a slope value (slope type) is returned in double type, then is the reverse value.

 

For example, if you want to use a slope such as 2:1  in "Delta X" for some point, you must type this: 1/ slope.

 

Then the subassembly in SAC calculates this 1/0.5= 2

 

So, I think that the reason is when the slope is converted to double value.

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea  

Answer Day

Rail Community


 

Autodesk Design & Make Report