//取得したオブジェクトが、ハッチングだとレイヤーを分ける
//セレクションなどを利用した選択したオブジェクトの場合
string enttype = acEnt.GetType().FullName.ToString();
switch (enttype)
{
case “Autodesk.AutoCAD.DatabaseServices.Hatch”:
break;
default:
break;
}
こんな感じ。
//取得したオブジェクトが、ハッチングだとレイヤーを分ける
//セレクションなどを利用した選択したオブジェクトの場合
string enttype = acEnt.GetType().FullName.ToString();
switch (enttype)
{
case “Autodesk.AutoCAD.DatabaseServices.Hatch”:
break;
default:
break;
}
こんな感じ。