API Reference > Classes > PRC Graphical Classes > OdPrcCategory1LineStyle Class > OdPrcCategory1LineStyle Methods > createByMaterial Method
createByMaterial Method

This is the overview for the createByMaterial method overload.

 
Name 
Description 
 
Adds a new PRC material object represented with an OdGiMaterialTraits object in the file structure globals storage and creates a new line style object that uses the specified material.  
 
Puts new prc material in file structure globals, creates new LineStyle that uses that material and returns its object id  
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.