|
saveas step file
i want to write a program to save a model as a .step file
question is: how to pick the option of 203 vs 214?
thx, chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
hi chris
sldworks.setuserpreferencevalue(swstepap, 203 or 214)
hope this help
################################
stef
designer / cad administrator
sw 2007 sp5 winxp pro sp2
i'm just wondering if there is a way to check the step file being saved in 214 or 203 format?
if so, how?
thx, chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
originally posted by: chris ch
i'm just wondering if there is a way to check the step file being saved in 214 or 203 format?
bingo, sometimes you just have to try the first that comes into mind. the step-format is an open format - with a readable file format (see it with notepad for example).
the header of the step-file is:
----------------------
iso-10303-21;
header;
file_description (( 'step ap214' ),
'1' );
file_name ('part1.step',
'2008-07-08t07:49:51',
...
-----------------------
so go look in the file for the line "file_description (( 'step ap214' )," and decompose it to find the version.
jorn bjarning
cswp
cad & plm consultant
sw2008 sp5 / sw2009 sp2
thx
chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
quick |
|