When a molecular scene contains many nodes, animation-related items can be easy to overlook. A node may be hidden, visible, selected, or simply hard to distinguish by name. Node Specification Language (NSL) provides a way to describe animation nodes by these attributes, helping you make a search more deliberate instead of relying on visual scanning alone.
The key starting point is the animation attribute space. Its short name is an, and it matches only animation nodes. That gives your query an important boundary: you are asking about animation nodes, not every node in the scene. The attributes listed for animations are inherited from the general node attribute space, so familiar node properties such as name and visibility are available here too.
Start with the state you are trying to find
If the problem is that an animation node is not currently visible, try the visibility attributes:
an.vtests for visible animation nodes;not an.vtests for those that are not visible.an.htests thehiddenattribute;not an.htests for nodes that are not hidden.
These attributes are related to how a node appears in the scene, but they are distinct names in the reference. If you are diagnosing a visibility issue, checking both can be more informative than assuming one is simply another spelling for the other.
Use names to narrow the search
When several animation nodes are present, a name filter can make the result easier to interpret. Names are written in quotation marks, for example an.n "A". The reference also gives an.n "L*" as an example. The short form for name is n.
A practical habit is to begin with one clear criterion—such as a name or a visibility state—and then refine the query using the syntax supported by NSL. This keeps the intent readable when you return to the scene later, or when you share the expression with a colleague. For details on combining criteria and other expression patterns, consult the NSL examples rather than guessing at operators.
Keep selection flags straight
There are two selection-related attributes in the animation reference: selected and selectionFlag. You can test them with an.selected and an.sf; for example, not an.selected asks for animation nodes that are not selected, while an.sf false specifies a false selection flag. One small detail matters: selected does not have the short name s in the animation attribute space. Use the full form an.selected.
Likewise, visibilityFlag has the short name vf, with examples such as an.vf and an.vf false. The reference lists these alongside visible and hidden; keep the attribute names explicit when you need to distinguish the state you are querying.
A small checklist for a cleaner search
- Use
anto limit the target to animation nodes. - Choose the property that matches your problem: name, visibility, hidden state, or selection.
- Use the documented short form where available, but remember that
selectedhas no animation short name. - Check the NSL examples when you need to combine conditions or use more advanced patterns.
This approach is useful when you are trying to locate a particular animation node, review which animation nodes are visible, or check selection-related state without broadening the search to unrelated node types.
For the complete attribute reference, see Animation attributes in NSL. For expression patterns, see the NSL examples.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
