Get Object properties?

Help creating logic scripts for Air Manager Instruments

Moderators: russ, Ralph

Post Reply
Message
Author
Mickolodias
Posts: 69
Joined: Mon Sep 13, 2021 3:21 am

Get Object properties?

#1 Post by Mickolodias »

Is there a way to get properties of things using their refs?
Such as current rotation, opacity, width etc of image
I'm one of 'those' mac guys. (and I have no idea why I can't afford to eat)

User avatar
Ralph
Posts: 7915
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Get Object properties?

#2 Post by Ralph »

http://siminnovations.com/wiki/index.ph ... ource_info

You're the one settings the positions and angles in your script, so you should know all of that.

Mickolodias
Posts: 69
Joined: Mon Sep 13, 2021 3:21 am

Re: Get Object properties?

#3 Post by Mickolodias »

That could come in handy but not what I’m after.

I know values when I set them. But I’ve come across a few cases where I need to reference that value.

Let’s say I want to do something only if an object rotates further than 10deg

I can store the previous angle in a table to compare to. But If I can query the object for its angle I wouldn’t need that table
I'm one of 'those' mac guys. (and I have no idea why I can't afford to eat)

User avatar
Ralph
Posts: 7915
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Get Object properties?

#4 Post by Ralph »

You would have to check against your variable, we don't have any plans for such features at the moment.

Post Reply