Subassembly Composer: Seeing Output Parameter Values

Subassembly Composer: Seeing Output Parameter Values

camden.n.dean
Advocate Advocate
1,020 Views
5 Replies
Message 1 of 6

Subassembly Composer: Seeing Output Parameter Values

camden.n.dean
Advocate
Advocate

Hello,

 

I have a simple problem, and I am wondering if anyone knows a better approach than what I am currently doing.

 

I have a custom subassembly made in SAC. I am setting output parameters and using them later in the flowchart.

 

As a means of checking myself and testing different scenarios, I often want to know the value of my output parameters, but I haven't found a way to read that value in SAC. (It does show up in C3D under the assembly properties.)

 

What I have been doing is making a point (P101) with the "Delta X" set to the same formula. Then I will do a hand calc and make another point (P102) with the "Delta X" set as the result of my hand calc of that formula. This is a really tedious way of checking, but it's easier than bringing the subassembly into C3D just to see the output value.

 

Anyone know how to just "look inside" the output parameters to see their value?

 

-Camden

0 Likes
Accepted solutions (1)
1,021 Views
5 Replies
Replies (5)
Message 2 of 6

ecfernandez
Mentor
Mentor

Hi @camden.n.dean, what I'm going to say is not that different from what you have been doing. I usually set an auxiliary point which is placed at (0,1) if what I'm testing is true or (0,0) if it isn't. When I'm testing a switch I do the same, I place an auxiliary point on every logic branch to see if the conditions are being met

Camilo Fernández

Civil engineer | Specialist in design, construction, and maintenance of roadways

EESignature

LinkedIn
Message 3 of 6

camden.n.dean
Advocate
Advocate

-

0 Likes
Message 4 of 6

camden.n.dean
Advocate
Advocate
Bah humbug! I wish there were a better way, but it's good to hear from someone else that this is the best way that they have found so far.


Thanks for the feedback!
Message 5 of 6

gleonhardt
Advocate
Advocate

Hi Camden,

 

you can only use the values of the output parameter to create new geometry.

In the example the length of the line L3 depends on a target surface. I can change in SAC.

The line L5 use the value length of line L3.

 

In the message function is no access to element values given.

 

Best regards

Leo

Message 6 of 6

Udo_Huebner
Mentor
Mentor
Accepted solution

As a workaround you can check the [codes] display in Preview,
then "Set Variable value" STRDepthout to vb expression cstr(DEPTH_OUT).

Finally assign STRDepthout as code for a Point or Link Code and you see the value of DEPTH_OUT in Preview as Code.

Gruß Udo Hübner (CAD-Huebner)