Sets the property values of the selected feature.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim RgbColor As Integer
Dim Ambient As Double
Dim Diffuse As Double
Dim Specular As Double
Dim Shininess As Double
Dim Transparency As Double
Dim Emission As Double
Dim UsePartProps As Boolean
Dim Suppressed As Boolean
Dim FeatureName As String
Dim value As 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