Concept |
Top | Previous | Next |
The Woodwork for Inventor API manipulates its own objects in order to access and manipulate data. All Woodwork for Inventor data is stored inside the part as attributes. It is the Woodwork for Inventor API that decrypts, reads and manipulates them.
As mentioned earlier, the Woodwork for Inventor API currently works only with materials. Woodwork for Inventor materials are divided into two broad categories:
1.Fill Materials, which include the following types of materials:
a.Solid
b.Board
c.Laminated Board
d.Multilayer Board
e.Desktop
f.Rod
2.Covers, which include the following types of materials:
g.Veneer
h.Edge Band
i.Paint
Note that fill material is assigned to the part document and covers are assigned to the face. This is where the Woodwork for Inventor API’s working logic comes from. In order to read or assign a fill material, a manipulation of the part document object is required. And to read or assign a cover, you need to access the desired face object. A similar process applies to texture and oversize management. Fill material oversizes and texture control are accessed by working with the part definition, while the cover materials are accessed by working with the face respectively.