
Replacement in Object TOOLKIT: |

ProLayerstateCreate | |
( ProSolid p_solid /* (In) Solid. */ ProName state_name /* (In) New layer state name. The name may consist of alphanumeric, underscore and hyphen characters only. */ ProLayer* layers /* (In) ProArray of layers referenced by the new state. */ ProLayerDisplay* disp_arr /* (In) ProArray of layer display statuses. Must be equal in size to the layers array. */ ProLayerItem* hidden_items /* (In) ProArray of hidden items. */ ProAnnotation* annotations /* (In) ProArray of annotations on a layer. */ int* status_flags /* (In) ProArray of integers. Statuses of the annotations in the layer state. The statuses are true/false values. true = excluded from layer. Array size must be equal to annotations' size. */ ProLayerstate* p_state /* (Out) Returned newly created layer state. */ ) |

Layer state created successfully. | |
Model is in read-only state. | |
Incorrect Input parameters. | |
Size of arrays don't match. See description above. | |
Layer state creation aborted. | |
Layer state name is invalid. The name may be too long or contains invalid characters. | |
Provided layer state name already exists in the model. |

