When an animation is missing from a crowded molecular-design workspace, the first challenge is often identifying the right animation node—not changing the molecular structure. SAMSON’s Node Specification Language (NSL) lets you search animation nodes by attributes such as name, visibility, and hidden state. That can make a small, targeted check easier than scanning a long list by eye.
The key starting point is the animation attribute space, abbreviated an. An expression using an matches animation nodes only. This helps keep a search focused when your document contains many kinds of nodes.
Check visibility directly
To find animation nodes marked visible, use:
|
1 |
an.v |
The short name v refers to visible. To find nodes that are not visible, use the documented negation form:
|
1 |
not an.v |
These are useful starting points when you suspect an animation’s visibility state is why it is not appearing as expected. They let you divide the search into visible and non-visible animation nodes, rather than mixing animation nodes with other node types.
Keep “hidden” separate from “visible”
NSL also provides the hidden attribute, with the short name h. For example:
|
1 2 |
an.h not an.h |
The reference lists hidden and visible as separate attributes, both inherited from the node attribute space. So, when troubleshooting, query the attribute you actually want to inspect instead of assuming one is simply another spelling for the other. The documentation identifies both as Boolean attributes, with possible values true and false.
Use names to narrow the search
If the animation has a recognizable label, search by name. The name attribute is abbreviated n, and values are written as strings in quotes. The reference gives examples such as:
|
1 2 |
an.n "A" an.n "L*" |
This is especially helpful when several animations are present: a name-based query can make the candidate set more manageable before you inspect other attributes. Keep the quotation marks around the name value, as shown in the examples.
Know which attributes are inherited
The animation attribute space includes several attributes inherited from the general node space: hidden, name, selected, selectionFlag, visibilityFlag, and visible. Most have short forms: h, n, sf, vf, and v. The selected attribute is the exception: for animation nodes, it has no short name s.
For example, the documented forms for selection and visibility flags include an.sf false, an.sf, an.vf false, and an.vf. These are distinct from the selected and visible attributes. If a search based on one attribute does not answer your question, check the relevant attribute explicitly rather than treating the names as interchangeable.
A simple troubleshooting sequence
- Start with
an-based searches so you are looking only at animation nodes. - Check
an.vandnot an.vto separate visible from non-visible nodes. - Check
an.hornot an.hif the hidden state is relevant. - Narrow the results with a quoted name, such as
an.n "A". - Inspect selection-related attributes separately if needed;
selectedhas no animation-specific short form.
This approach turns “Where did my animation go?” into a set of focused checks. It also keeps the search language readable: use the full attribute name when it is clearer, and the short form when you want a compact expression.
For the complete attribute reference, see the SAMSON animation NSL documentation.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
