Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 836 Bytes

File metadata and controls

41 lines (33 loc) · 836 Bytes

SetMtlFillStyleByCls

FUNCTION SetMtlFillStyleByCls(
				materialHandle : HANDLE;
				isByClass      : BOOLEAN): BOOLEAN;
def vs.SetMtlFillStyleByCls(materialHandle, isByClass):
    return BOOLEAN

Parameters

Name Type Description
materialHandle HANDLE
isByClass BOOLEAN

Examples

resultOK := SetMtlFillStyleByCls(materialHandle, TRUE);
import vs

materialHandle = vs.FSActLayer()  # handle to the first selected object on the active layer
isByClass = True

ok = vs.SetMtlFillStyleByCls(materialHandle, isByClass)
if ok:
    vs.Message('SetMtlFillStyleByCls succeeded')
else:
    vs.Message('SetMtlFillStyleByCls failed')

Version

Availability: from Vectorworks 2021

Category