Jump to content
Developer Wiki and Function Reference Links ×

Identify Image Prop texture


Recommended Posts

I'm trying to write a script to transfer image prop objects in Vectorworks to Piranesi as cutouts.

To do this I need to know the position and size of the image prop object and the image that it displays.

I think I have managed to get the size and position correctly but can't see how to determine the image.

Currently I'm finding the objects by calling ForEachObject() and looking for the ones with an 'Image Prop' record, so ideally I'd like a way to get from an object handle to the texture.

If I need to restructure and loop over textures I'm happy to do so, but don't know how to do that loop, let alone get from a texture to the image prop objects using it.

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