start
//创建详图视图
Transaction ts = new Transaction(doc, "http://greatverve.cnblogs.com");
ts.Start();

Reference refElem = selection.PickObject(ObjectType.Element, "选择");
Element elem = doc.GetElement(refElem);
BoundingBoxXYZ bBox = elem.get_BoundingBox(doc.ActiveView);
ViewSection viewSection = doc.Create.NewViewSection(bBox);

ts.Commit();
uiDoc.ActiveView = viewSection;

Transform tf = Transform.Identity;
tf.BasisX = XYZ.BasisX;
tf.BasisY = XYZ.BasisZ;
tf.BasisZ = XYZ.BasisX;
end

相关文章:

  • 2021-11-27
  • 2021-10-13
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2021-10-25
  • 2021-04-14
  • 2021-12-26
  • 2021-07-31
相关资源
相似解决方案