Gets the ID of the specified light source.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Function GetLightSourceIdFromName( _
ByVal LightName As String _
) As Integer |
| Visual Basic (Usage) | |
|---|
Dim instance As IModelDoc2
Dim LightName As String
Dim value As Integer
value = instance.GetLightSourceIdFromName(LightName)
|
| C# | |
|---|
int GetLightSourceIdFromName(
string LightName
) |
| C++/CLI | |
|---|
int GetLightSourceIdFromName(
& String^ LightName
) |
Parameters
- LightName
- Internal name of the light source
Return Value
ID for the light source
Remarks
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0