Sets the property values of the selected feature.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim RgbColor As System.Integer
Dim Ambient As System.Double
Dim Diffuse As System.Double
Dim Specular As System.Double
Dim Shininess As System.Double
Dim Transparency As System.Double
Dim Emission As System.Double
Dim UsePartProps As System.Boolean
Dim Suppressed As System.Boolean
Dim FeatureName As System.String
Dim value As System.Boolean
value = instance.SelectedFeatureProperties(RgbColor, Ambient, Diffuse, Specular, Shininess, Transparency, Emission, UsePartProps, Suppressed, FeatureName) |
Parameters
- RgbColor
- Color of feature (see Remarks)
- Ambient
- 0.0 <= Ambient value <= 1.0
- Diffuse
- 0.0 < Diffuse value <= 1.0
- Specular
- 0.0 < Specular value <= 1.0
- Shininess
- 0.0 < Shininess value <= 1.0
- Transparency
- 0.0 <= Transparency value <= 1.0
- Emission
- 0.0 <= Emission value <= 1.0
- UsePartProps
- True if the feature inherits the properties from the part, false if not
- Suppressed
- True if the feature is suppressed, false if not
- FeatureName
- Name of the feature
Return Value
True if feature's properties are successfully set, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2001Plus FCS, Revision Number 10.0