sbsarobject | Substance 3D Automation ToolKit

Note

Documentation for Substance Automation Toolkit is now included in the SAT package. You can access the documentation by opening html-doc.zip inside your downloaded SAT package.

sbsarobject

Module sbsarobject provides the definition of a SBSARObject, the base class for all objects of a .sbsar package.

 class common_interfaces.sbsarobject.SBSARObject  

Bases: object

Abstract class used to provide a common interface for all derived SBSARObject, and to ensure that each derived object implements the function ‘parse’

 parse(aContext, aDirAbsPath, aSBSParser, aXmlNode)  

Parse recursively the given xml node to retrieve the content of the SBSObject.

Parameters:
  • aContext (Context) – execution context
  • aDirAbsPath (str) – the absolute directory containing the current parsed package (.sbs file)
  • aSBSParser (SBSParser) – the substance parser
  • aXmlNode (xml.etree.ElementTree) – the xml node to parse

Adobe, Inc.

Get help faster and easier

New user?