C3DFile.CreateParameter |
nStatus = C3DFile.CreateParameter( BYVAL nFile AS INTEGER, BYVAL strParameter AS STRING, BYVAL nType AS INTEGER, [BYVAL nRow AS INTEGER=0], [BYVAL nCol AS INTEGER=0], [BYVAL nDepth AS INTEGER=0] ) AS INTEGER
Create C3D parameter of type nType. You can use the TYPE function for type or use the following
INTEGER 1 REAL 2 STRING 3
Parameter name should have the GROUP:NAME format
Example:
DIM strName AS STRING strName = "Kalle Anka was here with Nils today"
C3DFile.CreateParameter( nFile, "POINT:KALLE", TYPE( strName ), LEN( strName ), 0, 0 )
|