2012년 3월 7일 수요일

Access the Object Hierarchy 개체계층구조에 엑세스

Application.DocumentManager.MdiActiveDocument.Database.Clayer;
//Application개체의 DocumentManager속성의 MdiActiveDocument 프로퍼티를 이용해서

 현재 문서에 액세스할 수 있다.
MdiActiveDocument 속성에 의해 반환된 문서 개체에서, 데이터베이스 속성으로 데이터베이스에 액세스할 수 있다.




출처
http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer%27s%20Guide/index.html

댓글 없음 :

댓글 쓰기