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
- Ambient
- Ambient value; valid range is from 0 to 1
- Diffuse
- Diffuse value; valid range is from 0 to 1
- Specular
- Specular value; valid range is from 0 to 1
- Shininess
- Shininess value; valid range is from 0 to 1
- Transparency
- Transparency value; valid range is from 0 to 1
- Emission
- Emission value; valid range is from 0 to 1
- 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