Changelog for v.1.0.x#
v.1.0.0 and v.1.0.1#
See the changelog for the SAMSON SDK in the Developer guide.
Facade#
Facade.SAMSON#
SAMSON 2020 R3 introduces User plans. You can access them via the following functions:
samson.Facade.SAMSON.getUserPlan().samson.Facade.SAMSON.getUserPlanString().
New functions:
samson.Facade.SAMSON.getPublicVersionNumber(),samson.Facade.SAMSON.getPublicName()- get SAMSON’s public version and name.samson.Facade.SAMSON.getFileNamesFromUser()- get multiple filenames from the user.samson.Facade.SAMSON.getElementsFromUser()- get multiple periodic table elements from the user.samson.Facade.SAMSON.getMultipleBondDisplayFlag(),samson.Facade.SAMSON.getVanDerWaalsAtomRadiusFlag(),samson.Facade.SAMSON.getVanDerWaalsAtomRadiusRatio()- new display settings.
Core#
Core.Class#
ClassAttribute
Add new attribute types and functions.
DataModel#
DataModel.DataGraph#
A new node type in enumerator: samson.DataModel.DataGraph.Node.NodeType.Note.
New functions:
samson.DataModel.DataGraph.Node.descendsFrom()
DataModel.Document#
Note
Exposed a new node type samson.DataModel.Document.Note.
Folder
New functions:
samson.DataModel.Document.Folder.getNoteList()
Modeling#
Modeling.StructuralModel#
Atom
Changed and new functionality:
samson.Modeling.StructuralModel.Atom.isInBackbone(),samson.Modeling.StructuralModel.Atom.getBackbone()samson.Modeling.StructuralModel.Atom.isFromAminoAcidBackbone(),samson.Modeling.StructuralModel.Atom.isFromNucleicAcidBackbone(),samson.Modeling.StructuralModel.Atom.hasAminoAcidBackboneAtomName(),samson.Modeling.StructuralModel.Atom.hasNucleicAcidBackboneAtomName()
Bond
New functionality:
samson.Modeling.StructuralModel.Bond.getDisplacement()
Residue
New functions:
samson.Modeling.StructuralModel.Residue.residueTypeFullName(),samson.Modeling.StructuralModel.Residue.getResidueTypeFullName()
Modeling.VisualModel#
VisualModel
New functions:
samson.Modeling.VisualModel.VisualModel.canCreateMesh(),samson.Modeling.VisualModel.VisualModel.createMesh()
Mesh
New functions:
samson.Modeling.VisualModel.Mesh.getNextMesh(),samson.Modeling.VisualModel.Mesh.getPreviousMesh()samson.Modeling.VisualModel.Mesh.clone()samson.Modeling.VisualModel.Mesh.canCreateMesh(),samson.Modeling.VisualModel.Mesh.createMesh()samson.Modeling.VisualModel.Mesh.getDefaultScale()samson.Modeling.VisualModel.Mesh.getDefaultDiffuseColorReplacement()samson.Modeling.VisualModel.Mesh.getDefaultOpacity()