. after an object reference brings up a list of available properties and functions on that object, which is by far the fastest way to discover what you can do with something without hunting through documentation.

dir() in the shell, which will return the full list of what’s available on that object.

Ctrl + ↑ (up arrow) recalls your previous command in the shell, and can be pressed repeatedly to step back further through your command history — handy when you’re iterating on a small snippet rather than typing it fresh each time.

.Name to whatever you’re currently referencing is a quick sanity check that confirms exactly what object you’ve navigated to, before you commit to modifying it.

ExtAPI.DataModel.Project.Model.Analyses[0] every time you need it, assign it once to a short variable name and reuse that instead — it makes scripts both faster to write and much easier to read afterward.

(), even with no arguments — for example, Model.Mesh.GenerateMesh() rather than Model.Mesh.GenerateMesh. Forgetting the parentheses is one of the most frequent small errors that trips up first-time scripters, since Python won’t necessarily throw an obvious error — it may just silently reference the function object instead of executing it.




.Name checks, more readable code through variables, and finally, turning a one-off script into a persistent, shareable tool via buttons. The next article shifts focus from writing scripts to using them responsibly and sustainably.