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


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » SolidWorks二次开发
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


回复
 
主题工具 搜索本主题 显示模式
旧 2009-04-13, 09:18 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】blocks-autocad to sw

blocks-autocad to sw
how come when i insert a block from autocad into sw the file size increases considerably? the original autocad file is 568kb and increases to 7.21 mb when inserted as a block into sw.
thanks

colin fitzpatrick (aka macduff)
mechanical designer
solidworks 2008 sp 3.1
dell 490 xp pro sp 2
xeon cpu 3.00 ghz 3.00 gb of ram
nvida quadro fx 3450 512 mb
i'm just a little verklempt. talk amongst yourselves. i'll give you a topic. pink floyd, was neither pink nor floyd. discuss!--"coffee talk" mike myers snl

check out our whitepaper library.
my guess would be that the block is exploded into huge amounts of straight, small line segments, destroying all the true arcs (not sure if sw still does that, but it used to). also the possibility of many segments stacked over one another (?) creating huge numbers of entities.
i wonder if there's a way of bringing those blocks into dwgeditor and then into solidworks for smaller file sizes? long shot...

jeff mowry
jeff, i explored all my options with this. i reported it to our var and sent it over to sw corporate. the job number is sr# 1-947582736. i'll keep you folfs poseted on the outcome.
have a good day,
colin fitzpatrick (aka macduff)
mechanical designer
solidworks 2008 sp 3.1
dell 490 xp pro sp 2
xeon cpu 3.00 ghz 3.00 gb of ram
nvida quadro fx 3450 512 mb
i'm just a little verklempt. talk amongst yourselves. i'll give you a topic. pink floyd, was neither pink nor floyd. discuss!--"coffee talk" mike myers snl

does the file size change when the acad file is not a block?
can you post the file for review?

cbl,
yes it does. the orginial file is 568kb and the block file is 468kb. not enough to make a difference unlike sw takeing to 7.21mb.
colin fitzpatrick (aka macduff)
mechanical designer
solidworks 2008 sp 3.1
dell 490 xp pro sp 2
xeon cpu 3.00 ghz 3.00 gb of ram
nvida quadro fx 3450 512 mb
i'm just a little verklempt. talk amongst yourselves. i'll give you a topic. pink floyd, was neither pink nor floyd. discuss!--"coffee talk" mike myers snl

i meant does the file size increase as much when the acad file (not the block) is imported into sw.
is the geometry being altered when it is inmported into sw? (eg. curves into lines, lines on lines, etc)
as theo' suggested, try opening the file in dwgeditor and then copying from there.

nope, i get the same results opening in sw as the insert block test. sw file size for both are approx the same with lines being lines and circles being circles.
colin fitzpatrick (aka macduff)
mechanical designer
solidworks 2008 sp 3.1
dell 490 xp pro sp 2
xeon cpu 3.00 ghz 3.00 gb of ram
nvida quadro fx 3450 512 mb
i'm just a little verklempt. talk amongst yourselves. i'll give you a topic. pink floyd, was neither pink nor floyd. discuss!--"coffee talk" mike myers snl

?!?!?

jeff mowry
ok, i have an auto cad file about 500kb. i have three options in sw:
1) open the acad file up directly into sw.
2) open a sw blank template, insert dxf/dwg
3) open a sw blank template, insert block, dropdown, path to the dwg
all options give me the same result, a 7+ mb file. circles import as circles, and lines import as lines. is that better?
colin fitzpatrick (aka macduff)
mechanical designer
solidworks 2008 sp 3.1
dell 490 xp pro sp 2
xeon cpu 3.00 ghz 3.00 gb of ram
nvida quadro fx 3450 512 mb
i'm just a little verklempt. talk amongst yourselves. i'll give you a topic. pink floyd, was neither pink nor floyd. discuss!--"coffee talk" mike myers snl

ok, i don't know where this might lead--but we might try a bunch of random things to see if there are any differing results.
two ways to bring the drawing into sw--into a part and into a drawing (right?). what happens if you've got the geometry in a part sketch?
wherever you are in solidworks, can you select an arc or line, right-click, and then choose select chain? if the arcs and lines are truly tangent connected properly, you should see multiple elements selected. what happens if you delete them? no bits under them?
is it possible to check the acad document for layers--and turn off everything you don't need (or remake the block this way)?
that's about all the random checking i can think of for now.

jeff mowry
ooh, let me try the inserting the file into a part sketch. i'll be back....
colin fitzpatrick (aka macduff)
mechanical designer
solidworks 2008 sp 3.1
dell 490 xp pro sp 2
xeon cpu 3.00 ghz 3.00 gb of ram
nvida quadro fx 3450 512 mb
i'm just a little verklempt. talk amongst yourselves. i'll give you a topic. pink floyd, was neither pink nor floyd. discuss!--"coffee talk" mike myers snl
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
there are three terrible questions on SW translator as below huangyhg SolidWorks二次开发 3 2007-09-04 01:38 PM
How to start SW 2007 or SW 20006 via SW API? If I have two different versions of SW yogy SolidWorks二次开发 1 2007-05-21 09:19 AM
如何在VB中连接AutoCAD cad DirectDWG 1 2007-01-28 04:05 PM


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


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多