Go to www.awrcorp.com
Back to search page Click to download printable version of this guide.

9.2.1. Example

In this example we rename a box using a script object.

  1. Select the Structure node in the Navigator to foreground the Structure view if necessary.

  2. On the Structure ribbon in the Entity Creation group, click Draw Entity and select Box from the drop-down menu.

  3. Draw an arbitrary sized box in the Structure view using your mouse.

  4. Right click the Box node in the Browser and select Create Script Object.

    Enter PySolid_1 in the Script Object Name dialog box.

    Click OK to close the dialog box.

  5. In the Python Scripting control execute 'Solid_1.SetLabel("Box_Rename")'.

Review the content in the Structure Browser and property grid - the box has been renamed to Box_Rename.

Please send email to awr.support@cadence.com if you would like to provide feedback on this article. Please make sure to include the article link in the email.

Legal and Trademark Notice