Jump to content

Why Coercion Dot?


Recommended Posts

Hi,

I am building an array (array of Refnums) using the build array function. The refnums are of different data types (like boolean typa and ring control type). Now when i wire these to the input of the build array function i can see the coercion dots. Can some one let me know how can i convert the data type to avoid this coercion?

Please see the attached image (the one marked inside the RED Box)

The conversion pallete do not seems to have any built in vi to perform this.

Link to comment

The coercion dot is due to the fact that the refnums are for different data types. An array will take data elements of the same type so the refnums are converted to a more generic class refnum when you use build array. This can be observed if you use a refnum from output of build array and wire it to a property node. You will see that only generic properties for control are accessible.

My suggestion you can use a cluster instead of an array if you wish to preserve the original refnums.

See the attached image to remove the coercion dots.

Link to comment

QUOTE (JustinThomas @ Aug 20 2008, 01:29 AM)

The coercion dot is due to the fact that the refnums are for different data types. An array will take data elements of the same type so the refnums are converted to a more generic class refnum when you use build array. This can be observed if you use a refnum from output of build array and wire it to a property node. You will see that only generic properties for control are accessible.

My suggestion you can use a cluster instead of an array if you wish to preserve the original refnums.

See the attached image to remove the coercion dots.

Thanks Guys....it solved my problem

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.