Sets the light source name used internally by the SolidWorks software.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetLightSourceName( _
ByVal ID As Integer, _
ByVal NewName As String _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim ID As Integer
Dim NewName As String
Dim value As Boolean
value = instance.SetLightSourceName(ID, NewName)
|
C# | |
---|
bool SetLightSourceName(
int ID,
string NewName
) |
C++/CLI | |
---|
bool SetLightSourceName(
& int ID,
& 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