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

SAC: getting a value via Report Message

SAC: getting a value via Report Message

Currently there is no way to get a value (from an internal variable, etc..) from a Report Message to show it in the Event Viewer in Civil 3D.

 

52.jpg

 

The "Report Message" element in SAC, has a property: Message, which all included in the textbox is String:

 

We cannot do like Visual Studio, to concatenate (+) several strings.

 

In C# it would be:

"the value is: "+ variable1.ToString( )

 

Then, if the variable1 is a double with a default value=55, the Event Viewer shows:

 

the value is: 55

 

I would get some values in the Event Viewer about the subassembly as an Informational messages.

 

 

1 Comment
doni49
Mentor

From an end-user POV, it drives me nuts when all I know is that "there was an error".  This would allow the person developing a custom SA to provide feedback that is actually helpful:  Instead of "there was an error", the developer could say "the variable X = 5.0 and the minimum is 10.0".  Then when they have a problem, they can either fix it or give the developer the info.

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