Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

display transform variable value - Script Controller

display transform variable value - Script Controller

andrew_canfield
Collaborator Collaborator
209 Views
1 Reply
Message 1 of 2

display transform variable value - Script Controller

andrew_canfield
Collaborator
Collaborator

Hello

I'd like to check a calculation but not sure how to output the values to read them when using the Transform Script controller.

drop.PNG

 

Regards

 

Andrew

0 Likes
210 Views
1 Reply
Reply (1)
Message 2 of 2

leeminardi
Mentor
Mentor

I use the format statement.  Open the Scriptig Listener window and add the satement at the points where yo uwant to calculated values.   \n is used to start a new line.  For example,

leeminardi_0-1718369848618.png

 

Will show the following in the listener window.

leeminardi_1-1718369913564.png

 

If you want the transform of an object in your model then just select it and enter.

$.transform

 

lee.minardi
0 Likes