rom1_am 发表于 2012-8-23 09:54:07

等效于 .Net API 中的 Flatshot 命令

嗨,
我需要导出包含在不同块中的3d实体的列表,就像我使用flatshot命令一样(使用前视图,如果可能的话,使用dxf格式)
我在论坛上进行了研究,找到了这些主题:
http://www . the swamp . org/index . PHP?topic = 36283.15
http://www . the swamp . org/index . PHP?topic = 33105 . msg 385443 # msg 385443
显然,由于我们无法避开对话框,因此无法将sendcommand与flatshot命令一起使用。
在。net API?
(我在Visual studio express 2010中使用AutoCAD 2013和c#)
我也试图理解“dxfout”方法是如何工作的,但没有成功。
谢谢你的帮助
**** Hidden Message *****

Zoltan 发表于 2012-8-23 11:13:32

我使用截面对象创建三维对象的二维视图。对象不必与剖面相交。

rom1_am 发表于 2012-8-24 05:25:43

谢谢,我会试试这个可能性。

rom1_am 发表于 2012-8-29 04:40:17

由于在不同的solid3d对象上使用了GetSection方法,我们有效地完成了我们想要的任务
平面平面=新平面(Point3d.Origin,Vector3d.YAxis)
使用(Region=solid.GetSection(plane))
{

}
(特别感谢Gile)

insmur 发表于 2019-6-29 14:57:24

你能分享所有的代码吗?
页: [1]
查看完整版本: 等效于 .Net API 中的 Flatshot 命令