v1.4.0 #21
webermm
announced in
Announcements
v1.4.0
#21
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
[1.4.0] Python API enhancements, various usability improvements and bugfixes
Added
reset
andload
.keys()
member function to objects and properties.[]
for objects and properties.hasSubstructure()
member function for properties.getInstanceById(id)
function to get a specific instance.isRunningInUi()
function to query if RaCo is running in gui application.minFeatureLevel()
andmaxFeatureLevel()
functions to determine currently supported feature levels.isReadOnly()
,isExternalReference()
andisResource()
member functions to objects.getPrefab()
,getPrefabInstance()
andgetOuterContainingPrefabInstance()
member functions to objects. These return either None or the respective prefab/prefabInstance.isReadOnly()
,isValidLinkStart()
andisValidLinkEnd()
member functions for properties.getErrors()
function to read active errors as a list of ErrorItem.metadata()
member function to get any mesh metadata for a mesh object.raco_gui
python module, which is only available when running the composer in the GUI and needs to be imported separately.getCurrentSelection()
function to theraco_gui
module, returning a list of the currently selected editor objects.importGLTF(path, parent)
to import a whole glTF file into the scene.path
can be either relative to<projectFolder>/meshes/
or absolute,parent
argument is optional. If not provided, the object will be attached to the scene root.-y
command line option for both headless and GUI application to set additional python module search paths. Multiple-y
options may be specified to add multiple directories. The additional paths are added before the default search path.Changes
Fixes
This discussion was created from the release v1.4.0.
Beta Was this translation helpful? Give feedback.
All reactions