trk yct

16 Reputation

2 Badges

16 years, 324 days

MaplePrimes Activity


These are answers submitted by trk yct

thanks it is working fine now
I tried the following: s:=proc() global oc; local part,g; with(CAD[SolidWorks]): OpenConnection(): oc:=OpenDocument("x:/Sound/Sound_study.sldprt"); for g to 20 do part:=nprintf("cord@fan%d@sound_study.part",g); r||g:=GetDimensionValue(oc,part); end do; end;s(); it gave me the following error: Error, (in s) invalid input: CAD:-SolidWorks:-GetDimensionValue expects its 2nd argument, d, to be of type {string, list(string)}, but received `cord@fan1@sound_study.part`
Page 1 of 1