myAcadEnt.Color = Colors.Color.FromDictionaryName("ByLayer")
Can anybody get me pointed in the right direction? I am grateful for any help.
Is there a similar value for the LinetypeId as for layers to reset to BYLAYER?
ent.ColorIndex = 256; /BYLAYER
// ent.LinetypeId = ???; //BYLAYER
rather than doing this:
ent.Linetype = "BYLAYER";
"Database.ByLayerLineType" property will give you the ObjectId of the "ByLayer" line type.
Developer Technical Services
Autodesk Developer Network
That's correct. But what I want to know is what is the LinetypeID eqivalent of "BYLAYER"?. Thanks for hte reply, Dale
Balaji told you - it is returned by the property he mentioned, and it must be assigned to the entity's LinetypeId property (as opposed to the Linetype property)