C3DFile.SetPointName

Previous  Next

 

nStatus = C3DFile.SetPointName( BYVAL nFile   AS INTEGER,

                                BYVAL nPoint  AS INTEGER,

                                BYVAL strName AS STRING ) AS INTEGER

 


 

Sets the name(s) of the points.  Note that Point names always start at 1.

 

Example:

 

nFile = C3DFile.Create( "e:\123.c3d", "Kalle Ankas File", "bits", 10, 3, 100, 2, 200 )

 

IF nFile <> 0 THEN

  C3DFile.SetPointName( nFile, 1, "Kalle" )

  C3DFile.SetPointName( nFile, 2, "Nisse" )

  C3DFile.SetPointName( nFile, 3, "Pelle" )

 

  C3DFile.SetAnalogName( nFile, 1, "Left" )

  C3DFile.SetAnalogName( nFile, 2, "Right" )

ENDIF