Is it possible to get object reference to an object which is being referenced by an attribute?

Is it possible to get object reference to an object which is being referenced by an attribute?

ShricharanaB
Advocate Advocate
267 Views
1 Reply
Message 1 of 2

Is it possible to get object reference to an object which is being referenced by an attribute?

ShricharanaB
Advocate
Advocate

Hi,

 

I have an attribute in a block which references a point object in the block to get the z value in edit field. I know the tag of the attribute which will be same in all blocks. But the position of the point object may vary as it is dynamic. How can I get the reference to the point object so I can get it's current position?

There will be multiple points in the blocks and positions will be dynamic. I cannot get the value of the attribute itself because it will have only z value not the other two.

 

If it is possible to get the reference to this point object, will it still work if the attribute is hashed out ? (as in the values switch to ### because its lost it's reference or something. This seems to happen often.) 

 

Hope I'm clear. 

ShricharanaB_2-1681194971939.png

 

 

ShricharanaB_0-1681194745458.png

 

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

komondormrex
Mentor
Mentor

hi,

could you attach a target block?

0 Likes