查看单个帖子
旧 2009-04-13, 12:00 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】how to load curve points from a text file in api

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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)