几何尺寸与公差论坛

 找回密码
 注册
查看: 1028|回复: 0

【转帖】createing offset surface

[复制链接]
发表于 2009-4-12 20:35:44 | 显示全部楼层 |阅读模式
createing offset surface
i am working in a winforms application that automates a couple of processes in sw 2003. i am trying to create an offset surface from two previously selected surfaces. the new offset surface should be 0.2 mm below the original surface.
i have tried to use the record function to record a macro, but the makro won't record these click, selections are recorded just fine, but the create offset surface function isn't.
anyone have any idea of how to do this?
best regards
pål eilertsen
hey pal,
i am not sure what you are trying to do but this might help...
you can create a reference plane at distance 0.2mm from the selected surface and then create your new surface on the newly create plane.
that way you get the required distance between the surfaces...
i am not sure what function calls you need to use to do this as i am working on sw 2008 and any api that i suggest might not be available in sw 2003...
for sw 2008 i use modeldoc2::createplaneatoffset3 to create planes at an offset.
hope this helps
--stav.
in this world i am nobody...
and nobody is perfect ;) !!!
---------
solidworks office 2008 sp4.0
dell precision pws390
nvidia quadro fx 3450/4000 sdi
pal,
here's some code i did with similar results. hope this helps.
cadcam systems analyst
-solidworks office premium 2009 sp3.0
-solidworks simulation premium 2009 sp3.0
-solidworks flow simulation 2009 sp3.0
-2 cpu (fx-62), 2.0 gb of ram
-window xp pro sp2
-nvidia geforce 7950 gx2 (512mb) 6.14.11.6921
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 07:57 , Processed in 0.035393 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表