几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】dxf import to part - layer filter (http://www.dimcax.com/hust/showthread.php?t=5301)

yang686526 2009-04-13 10:37 AM

【转帖】dxf import to part - layer filter
 
dxf import to part - layer filter
i am trying to write a macro to duplicate what can be done with imprt dialog boxes - ie turn of mu;tiple lays and import the dxf into a part sketch.
i can't find any documentation as to how this can be done - any ideas?
there is an example in the api help which shows how to import a dxf into a sketch, but it does not include any layer managment.
i'm trying to import pcb geometry without any of the extra info in the file from teh pads output, the info i want is always on the same 2 layers.
quick


所有的时间均为北京时间。 现在的时间是 04:00 PM.