VS:SetTextureRefN
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Sets the texture reference for a specified object
PROCEDURE SetTextureRefN(
obj :HANDLE;
textureRef :LONGINT;
texPartID :LONGINT;
texLayerID :LONGINT);
def vs.SetTextureRefN(obj, textureRef, texPartID, texLayerID): return None
Parameters
obj HANDLE textureRef LONGINT texPartID LONGINT texLayerID LONGINT 0 for base, >0 for decals
Remarks
(ptr, 2020 Sep. 8):
vs.SetTextureRefN(obj, textureRef, texPartID, texLayerID)
<lineList ident=1>
textureRef: texture index, -1 for by class texPartID: 3 = overall part texLayerID: 0 for no decals
Version
Availability: from Vectorworks 2010