Fill Patterns

Fill Patterns

Anonymous
Not applicable
1,451 Views
2 Replies
Message 1 of 3

Fill Patterns

Anonymous
Not applicable

Does anyone know where in the API the following information is located for simple fill patterns?

 

image.png

0 Likes
Accepted solutions (1)
1,452 Views
2 Replies
Replies (2)
Message 3 of 3

hugha
Collaborator
Collaborator
Accepted solution

The API documentation describes how fills are stored. In summary:

 

 

The FillPattern class has a method GetFillGrids() that retrieves the grids used to form the fill.

 

A solid fill has no grids.

 

A simple fill will have one or two grids describing the grid line angle, position and spacing.  Complex fills can have any number of grids (within reason).

 

Further, each grid may have a list of segments accessed by GetSegments() describing a broken line's internal pattern but for unbroken lines found in simple fills that list is empty. 

 

 

hope this helps,

 

Hugh Adamson

www.hatchkit.com.au

 

 

 

 

 

0 Likes