Hide Table of Contents
MaterialClass Property (ISustainabilityMaterial)

Gets or sets the class of material applied to the current part or the specified assembly components.

.NET Syntax

Visual Basic (Declaration) 
Property MaterialClass As System.String
Visual Basic (Usage) 
Dim instance As ISustainabilityMaterial
Dim value As System.String
 
instance.MaterialClass = value
 
value = instance.MaterialClass
C# 
System.string MaterialClass {get; set;}
C++/CLI 
property System.String^ MaterialClass {
   System.String^ get();
   void set ( &   System.String^ value);
}

Property Value

Name of the class of material (see Remarks)

Example

See the examples in ISustainabilityMaterial.

Remarks

The material class specified by this property constrains the material names that can be specified by ISustainabilityMaterial::MaterialName. This property is valid only if ISustainabilityMaterial::MaterialName is set. The available material classes are stored in the SolidWorks Materials database. See SolidWorks Help for more information.

This property applies only to the assembly components specified by ISustainabilityMaterial::SetPropertiesForComponent and ISustainabilityMaterial::ISetPropertiesForComponent.

See Also

Availability

SolidWorks Sustainability API 2013 SP0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   MaterialClass Property (ISustainabilityMaterial)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2013 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.