Category Piping, Object ProPipeline

Function ProPipelineCreate


Description
Creates a non spec driven pipeline feature. The feature will be created under the given model, with the given name pipeline_name, referencing pro_lnstk.
Synopsis
#include <ProPiping.h>
ProErrorProPipelineCreate(
ProSelection model
/* (In)
the model where the pipeline will be create in. must be a non spec driven model.
*/
ProLnstk* lnstk
/* (In)
the linestocl to which the pipeline will reference. must belong to the input model.
*/
ProName pipeline_name
/* (In)
the name of the pipeline.
*/
ProFeature* pro_pipeline
/* (Out)
the newly created pipeline feature.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully creates the pipeline. PRO_TK_BAD_INPUTS One or more of the arguments are invalid (Model is invalid OR the linestocks owner is different than model). PRO_TK_E_NOT_FOUND Linestock was not found for the specific ProLnstk data (owner and name).
PRO_TK_INVALID_NAMEPipeline with this name already exist.
PRO_TK_GENERAL_ERROROther error.

Manual References:

  1. Production Applications: Piping: Pipeline Features
  2. Production Applications: Piping: Pipeline Features