Jump to content
Carles Olle

Change the aspect ratio of a color texture image

Recommended Posts

Hi,

 

I have an object with an assigned color texture image ( see "How to assign a texture to a 3d object").

I need to change the the associated texture image aspect ratio to adapt to the dimensions of the object.

I don't seem to be able to find the function to archive this.

 

Would it be possible to use some sort of vs.GetTexBitPaintNode() / vs.SetTexBitPaintNode() / vs.CreatePaintFromImgN() combination in order to manipulate and reassign the bitmap bits?

 

Those functions seem to be deprecated. Is there new, equivalent functions to archive this?

 

Thanks

Edited by Carles Olle

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×