[ 🐣 2025.08 Weekly Tip – Understand API inheritance for better use of your scripts! ]

:mailbox_with_mail: [ August- 4th week tip]

Understand API inheritance to structure your scripts

:scroll: Overview

Don’t just skim a single class’s methods or properties—start with the inheritance tree. Most APIs are designed with parent → child relationships where child classes inherit and expand on parent functionality.

For example, if a specific object (like a Part) inherits from Instance, it can use the base features from Instance (creation, initialization, shared properties, etc.) out of the box.

:mag: How to use?

Check the class hierarchy in the API Reference Review each class’s parent/child structure first.

You’ll quickly see whether a function comes from a parent or is newly defined in a child.

Read parent-class features first When there are many child classes, the shared features in the parent are often the real core.

Once you understand the parent’s properties and methods, the child-class docs become much easier to read.

:books: Learn more:

You know where to find us for more questions or suggestions.
Happy building!