API Help
Eplan.EplApi.DataModel.E3D Namespace / Component Class / CreateTransient Method / CreateTransient(Project,String,String) Method
Project to which this object will be assign. Can't be null.
Part number of article used to create this object. Can't be null or have zero length.
Part variant of article.

CreateTransient(Project,String,String) Method
Creates transient and not placed Component object.
Syntax
public void CreateTransient( 
   Project oProject,
   string strArticleNr,
   string strVariant
)

Parameters

oProject
Project to which this object will be assign. Can't be null.
strArticleNr
Part number of article used to create this object. Can't be null or have zero length.
strVariant
Part variant of article.
Exceptions
ExceptionDescription
Thrown when param is null value. Check exception message for more info.
Thrown if strArticleNr has zero length.
Thrown when the component cannot be created.
Remarks
If strArticleVariant null or have zero length default variant "1" is used.
See Also