Objects used in Macro programming

Top | Previous | Next

 

The text generated by JS Macro program may require the inclusion of information about the base point of the JS Macro program, about the orientation, etc. A Macro object is provided for this purpose, whose methods and various properties can be used to place that data at the required location in the Front-End program being generated.

 

MicrosoftTeams-image

 

 

Below is a description of the essential properties of the Macro object. Some properties have been omitted from this description and a full description of the methods and data can be found in the description of the Macro API user interface, which is available here:

 

C:\Users\Public\Documents\Woodwork for Inventor\2022\v13\SDK\Macro\Woodwork for Inventor Macro API Help.chm

 

hmtoggle_plus1Macro.Name
hmtoggle_plus1Macro.BodyName
hmtoggle_plus1Macro.RefrenceCoordinateSystem
hmtoggle_plus1Macro.Workpiece
hmtoggle_plus1Macro.Side
hmtoggle_plus1Macro.AlignedSide
hmtoggle_plus1Macro.Origin