SoProjectionAddProjection Method |
Add a projection with the given name and id to the list.
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntaxpublic void AddProjection(
out string projectionName,
SbProjection projection,
int id
)
Public Sub AddProjection (
<OutAttribute> ByRef projectionName As String,
projection As SbProjection,
id As Integer
)
public:
void AddProjection(
[OutAttribute] String^% projectionName,
SbProjection^ projection,
int id
)
member AddProjection :
projectionName : string byref *
projection : SbProjection *
id : int -> unit
Parameters
- projectionName
- Type: SystemString
- projection
- Type: OIV.Inventor.ProjectionSbProjection
- id
- Type: SystemInt32
RemarksThe projection name is just for convenience. The projection id value should be greater than zero because the default spherical projection already uses this id. If multiple projections are assigned the same id, the first one added to the list will be used.
See Also