ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
NRNiels Raahauge15/02/2024

How do I set values for  "Directional-2" with SetLightSourcePropertyValuesVB?

Problem: Same IdName in swModel.GetLightSourceName(1) and swModel.GetLightSourceName(2)

Then I can not set data for Light source Name (2)


SetLightSourcePropertyValuesVB( ByVal IdName As System.String .....

The IdName is the LightSourceName and it is the same for the two Directional Light.

If I record a macro an change something