Sets the light source name used internally by the SOLIDWORKS software.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetLightSourceName( _
ByVal ID As System.Integer, _
ByVal NewName As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim ID As System.Integer
Dim NewName As System.String
Dim value As System.Boolean
value = instance.SetLightSourceName(ID, NewName) |
C# | |
---|
System.bool SetLightSourceName(
System.int ID,
System.string NewName
) |
C++/CLI | |
---|
System.bool SetLightSourceName(
& System.int ID,
& System.String^ NewName
) |
Parameters
- ID
ID of the light source whose name you want to set
- NewName
Name to be given to the specified light source
Return Value
True if the name is set successfully, false otherwise
Remarks
See Also
Availability
SOLIDWORKS 2001Plus FCS, Revision Number 10.0