Locks or unlocks the specified light.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function LockLightToModel( _
ByVal LightId As System.Integer, _
ByVal Fix As System.Boolean _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim LightId As System.Integer
Dim Fix As System.Boolean
Dim value As System.Boolean
value = instance.LockLightToModel(LightId, Fix) |
C# | |
---|
System.bool LockLightToModel(
System.int LightId,
System.bool Fix
) |
C++/CLI | |
---|
System.bool LockLightToModel(
& System.int LightId,
& System.bool Fix
) |
Parameters
- LightId
Light ID
- Fix
True if the light is locked, false if not
Return Value
True if change is successful, false if not
Example
See Also
Availability
SOLIDWORKS 2001Plus FCS, Revision Number 10.0