For molecular modelers, managing the complexities of molecular structures and associated properties can be a daunting task. Documenting key attributes, improving visibility, and organizing data more effectively are all challenges that can significantly slow down workflows. Fortunately, property model attributes in SAMSON’s integrative molecular design platform offer practical solutions for addressing these challenges.
What Are Property Model Attributes?
The property model attributes are part of SAMSON’s propertyModel attribute space (or short name: pm). These attributes are exclusively designed for property model nodes, helping users focus on specific molecular characteristics at a finer level of detail. Whether you’re working with visibility settings, object names, or ownership tags, property model attributes provide powerful tools to accelerate and organize your molecular design process.
Key Attributes for Your Workflow
Let’s break down some of the most valuable property model attributes you can use:
- hasMaterial (
hm): Indicates whether the property model node has material associated with it. Useful for identifying nodes involved in material interactions (values:true,false). - hidden (
h): Helps you manage visibility by marking nodes as hidden or not hidden (values:true,false). - name (
n): Assigns or queries the name of the property model. This is especially useful for filtering and organizing property nodes using string values in quotes, likepm.n "A". - ownsMaterial (
om): Specifies whether the property model node owns material (values:true,false). - selected: Indicates if a node is selected, perfect for managing and isolating parts of your molecular model. Unlike its counterpart
node.selected, this attribute doesn’t have a short name in thepmspace. - visibilityFlag (
vf) and visible (v): These complementary attributes let you fine-tune whether property nodes should be visible or not (values:true,false).
Practical Examples
Here’s how these attributes can simplify your work:
- To find a property model node with a specific name, use a query like
pm.n "NameOfInterest". - If you want to hide nodes that don’t own material, you can combine attributes:
not pm.om and pm.h true. - Optionally mark important nodes with visibility flags for clearer visuals during presentations:
pm.vf true.
Such queries save time and effort, enabling you to target and extract precise subsets of data or nodes, no matter how complex your molecular design gets.
Automating Node Selection Made Easy
The selected attribute simplifies processes like isolating noteworthy features or separating subsets of your data. For instance, with pm.selected true, you can instantly filter out unnecessary information for clearer insights when analyzing your structural data.
In Summary
Property model attributes in SAMSON empower molecular modelers to streamline their workflows, ensuring both precision and faster decision-making. With versatile options to classify, query, and manage key properties of molecular nodes, these attributes are indispensable tools in reducing complexity during molecular modeling projects.
To delve deeper into SAMSON’s property model attributes, visit the official documentation page: https://documentation.samson-connect.net/users/latest/nsl/propertyModel/.
SAMSON and all SAMSON Extensions are free for non-commercial use. Download SAMSON today at https://www.samson-connect.net.
