Jump to content
Developer Wiki and Function Reference Links ×

Symbols in PIOs...turn off 2D?


SamIWas

Recommended Posts

I have some PIOs in which I'd like to be able to put any symbol name into a field and have it displayed.  That is easy and have that working.  Is there a particular way to get the PIO to display only the 3D parts of said symbol when in 3D views, but use the PIOs definition when in 2D views?  In other words, I may not want to see the 2D part of the symbol in Top/Plan view, but just whatever the PIO itself draws.

Link to comment

The only way to achieve this would be to move the symbol instance into the profile group of the PIO, then copy the 3D components from that symbol instance into the PIO. You could do this by cycling through all the objects in the symbol, duplicating anything that is 3D (use GetType()), then using SetParent() to move it from there to the PIO. If the symbol contains planar objects, then you will also need to check if 2D objects are planar and if so, duplicate and move them as well.

 

Julian

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...