EntityBuilderCall
Represents a call to perform geometry ingestion with an entity builder
Call build in order to invoke the underlying function
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
|
|
‐ |
|
|
|
Methods
Section titled “Methods”build()
Section titled “build()”build(
ref):Promise<PostBuildResult>
Invokes this builder, return the value produce by the onPostBuild.
If not onPostBuild is called, the value returned will be that of the original builder call
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
the entity container to invoke the builder on |
Returns
Section titled “Returns”Promise<PostBuildResult>
onPostBuild()
Section titled “onPostBuild()”onPostBuild<
T>(func):EntityBuilderCall<BuildResult,T>
When used this alters the return type of the build call to the type T
This action will return after the builder has been invoked, which allows the user to gain access to any faces or edges that were created as part of the entity builder for further modification
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
|
|
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
( |
the function to run after build but before commit |
Returns
Section titled “Returns”EntityBuilderCall<BuildResult, T>
withOptions()
Section titled “withOptions()”withOptions(
callOptions):EntityBuilderCall<BuildResult,PostBuildResult>
Alters the configuration options for the entity builder call
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
|
the partial new options |
Returns
Section titled “Returns”EntityBuilderCall<BuildResult, PostBuildResult>