几何尺寸与公差论坛

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

【转帖】how to load curve points from a text file in api

[复制链接]
发表于 2009-4-13 12:00:27 | 显示全部楼层 |阅读模式
how to load curve points from a text file in api?
dear all,
i searched in api and found that freepointcurvefeaturedata has a method for loading points (xyz) from a text file but i could not find its accessors, i.e. a method which returns freepointcurvefeaturedata. the api says that freepointcurvefeaturedata accessor is featuremanager::createdefinition() but it reaturns an object which cannot be casted to freepointcurvefeaturedata. can anybody help me with a couple of vb lines?
thanks,
artman
does this help at all?
swapp = application.sldworks
doc = swapp.activedoc
doc.insertcurvefile "filename"
dear marlow springer,
thanks a lot for your good and usefule comment, yes it is worked well.
regards
artman
edited: 10/27/2008 at 12:58 am by artin rezaie
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 18:00 , Processed in 0.034911 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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