Part

Object for a HiCAD part.

Access to the part is permitted as long as 'Exists' is true. Modifications of the HiCAD data structure, like deleting or processing parts do not result in the fact that you can no longer work with the part object.


Example Part

 


Example Part

START 59

 

FUNC delete p

FUNC Part p

 

REM load part: You can then access the loaded part via 'p'.

FUNC p.Load ("c:\temp\xyz.kra")

 

REM define transformation

FUNC delete trans

FUNC Transformation trans

FUNC trans.SetTranslation (100, 0, 10)

 

REM move part

FUNC p.Move (trans)

 

END

Class for HiCAD Elements (FUNC)