Difference between revisions of "VS:CustomTexPartExists"
From Vectorworks Developer
m (1 revision) |
Latest revision as of 13:51, 7 December 2020
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Returns true if object has the specified partID custom texture part.FUNCTION CustomTexPartExists(
obj :HANDLE;
partID :LONGINT) : BOOLEAN;
def vs.CustomTexPartExists(obj, partID): return BOOLEAN
Parameters
obj HANDLE Object handle partID LONGINT Custom texture part ID, ex: 100.
Example
hasPart := CustomTexturePartExists(h, 100);