Create Method List
This section lists the scripts that are available in the Schematic scripting interface to create and change data.
Script Position Parameters
In Create Method scripts, X and Y position parameters are expressed in meters.
- If your layout grid units are metric, you may enter the X and Y positions directly into a script as parameters.
- If your layout grid is expressed in mils, you must first convert the component's positional coordinates to meters.
To convert an X or Y position to meters based on the minor grid size:
X or Y position in meters = desired_position x ( 0.00254 / minor_grid_size )
where desired_position and minor_grid_size have the same units. For example, to position an object at 500mm with a minor grid size of 20mm:
X or Y position in meters = 500 x ( 0.00254 / 20 )
This section lists the following commands:
CreateCircle (Schematic Editor)
CreateComponent (Schematic Editor)
CreateCurve (Schematic Editor)
CreateGlobalPort (Schematic Editor)
CreateGround (Schematic Editor)
CreatePagePort (Schematic Editor)
CreateIPort (Schematic Editor)
CreatePolygon (Schematic Editor)