Adding Objects to Model and Paper Space
You can use the following procedures of the AcadDatabase class to add AutoCAD objects to the model and paper space. Some of these routines accept a single object, others accept object lists (DBObjectCollection) as parameters.· public static ObjectId AddToCurrentSpace(this Entity ent)· public static ObjectId AddToCurrentSpace(this Entity ent, Database db)· public static ObjectIdCollection AddToCurrentSpace(this Database db,DBObjectCollection objects)· public static ObjectId AddToModelSpace(this Entity ent)· public static ObjectId AddToModelSpace(this Entity ent, Database db)· public static ObjectIdCollection AddToModelSpace(this Database db,DBObjectCollection objects)· public static ObjectId AddToModelSpace(this Entity ent, Database db,Transaction tr)· public static ObjectId AddToPaperSpace(this Entity ent)· public static ObjectId AddToPaperSpace(this Entity ent, Database db)· public static ObjectId AddToPaperSpace(this Entity ent, Database db,Transaction tr)
· public static ObjectIdCollection AddToPaperSpace(this Database db,DBObjectCollection objects)
**** Hidden Message *****
回复学习学习!{:1_12:}{:1_12:}{:1_12:} 感谢分享 认真学习 什么意思,学习一下 什么意思,学习一下 回复学习学习! 学习学习@哦谢谢分享 分享来学习学习{:1_12:}{:1_12:}{:1_12:}
页:
[1]