Sets whether the SolidWorks Keep light is enabled for the specified Directional light in this model for a PhotoWorks scene.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub SetKeepLightInRenderScene( _
ByVal ID As Integer, _
ByVal Val As Boolean _
) |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim ID As Integer
Dim Val As Boolean
instance.SetKeepLightInRenderScene(ID, Val)
|
C# | |
---|
void SetKeepLightInRenderScene(
int ID,
bool Val
) |
C++/CLI | |
---|
void SetKeepLightInRenderScene(
& int ID,
& bool Val
) |
Parameters
- ID
- Directional light ID
- Val
- True to keep this light if you open a predefined light source in a PhotoWorks scene, false to delete this light when you open a predefined light source in a PhotoWorks scene
See Also
Availability
SolidWorks 2008 FCS, Revision Number 16.0