VS:ApplyCustomTexPart

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Applies the src object custom texture part partID to dest Overall part. For example apply PIO texture partID 100 to extrude Overall part. If the dest object does not support the src map type then a default mapping is used.
PROCEDURE ApplyCustomTexPart(
srcObj  :HANDLE;
destObj  :HANDLE;
partID  :LONGINT);
def vs.ApplyCustomTexPart(srcObj, destObj, partID):
    return None

Parameters

srcObj HANDLE The source object from which to get the texture assignment and mapping.
destObj HANDLE The dest object to apply the texture and mapping to. The texture and mapping are applied to destObj Overall texture part.
partID LONGINT The custom texture part ID to apply from the src to the dest object.

Example

ApplyCustomTexPart(parentPIO, pioSubObj, 100);

Version

Availability: from Vectorworks 2017
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox