Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1000 Bytes

File metadata and controls

41 lines (31 loc) · 1000 Bytes

GetFPat

Description

Function GetFPat returns the fill pattern of the referenced object.

A positive value corresponds to the index of the fill pattern on the pattern palette. A negative value corresponds to internal index of a vector fill pattern applied to the object.

Fill patterns and their associated constants can be found in the VectorScript Appendix.

FUNCTION GetFPat(h : HANDLE): LONGINT;
def vs.GetFPat(h):
    return LONGINT

Parameters

Name Type Description
h HANDLE Handle to object.

Remarks

The negative values need to be converted to positive values for Index2Name to work.

Examples

VectorScript

FPatValue:=GetFPat(HandleToObj);

Python

FPatValue = vs.GetFPat(HandleToObj)

Version

Availability: from All Versions

Category