几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】rouble Cloning Linetypes With Textstyles (http://www.dimcax.com/hust/showthread.php?t=18817)

yang686526 2009-05-07 05:17 PM

【转帖】rouble Cloning Linetypes With Textstyles
 
trouble cloning linetypes with textstyles
trouble cloning linetypes with textstyles
hi,
i'm having troubles with wblockcloneobjects. when i try to clone hot_water_supply linetype which contains textstyle standard with txt.shx font, wblockcloneobjects throws enotthatkindofclass.
other linetypes clone ok. for example, acad_iso02w100 works ok for me.
i think my problem is somehow related to cloning the textstyle. if i pass only the objectid of the standard textstyle to wblockcloneobjects, it throws that error.
what is the correct way to clone this kind of linetype?
thanks,
erle


所有的时间均为北京时间。 现在的时间是 11:47 AM.