AmesimKnowledge

Tutorial > Creating supercomponents

Manually positioning supercomponents

By default, the position is computed automatically, by finding a free area on the sketch where the supercomponent can be postioned. If necessary, you can define the position of a supercomponent manually, using the sixth parameter, top_left. This allows you to define the top-left coordinates of the supercomponent on the sketch. For example:

AMECreateSupercomponent(('mass_friction1port', 'springdamper01'), 'left_piston','left_piston_alias', 'LEFT_PISTON', 'duplicate', (100, 100))

Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Circuit_API/xid1124867 · retrieved 2026-07-17