Context.create_instance

Create Instances for a given Context.




Introduction

Create an instance and automatically make it a child of the calling context, returns the newly created Instance.

import pyblish.api
context = pyblish.api.Context()
instance = context.create_instance(name="MyInstance")
Fri Aug 18 2017 08:16:29 GMT+0000 (UTC)

results matching ""

    No results matching ""