Skip to reading
PCA Script Programming

create_procedural()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Create Procedural | Action ID: CreateProcedural

Create a runtime procedural entity from the requested generator type.

Source table from create_procedural(), page 127
Option key / fieldMeaning and accepted inputDefault
Procedural Type proceduralText.Blank
ID idText.Blank
XYZ positionDestination/placement coordinates as [X, Y, Z].[0.0, 0.0, 0.0]

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
create_procedural({"procedural": "", "id": "", "position": [0.0, 0.0, 0.0]})

In use. Use a generator name supported by the engine and check the result in Test Scene. This is not a text-to-model system: an arbitrary description is not a procedural generator ID.

Page 127 of 357Permalink
Go to page