Hi,
how i can create with vba a surface Extend
take a look picture
thx for help
Mario
Solved! Go to Solution.
Solved by philippe.leefsma. Go to Solution.
Hi Mario,
That would be logically from the "PartComponentDefinition.Features.ExtendFeatures", however this object doesn't expose any "Add" method, which mean ExtendFeature cannot be created yet from the API.
Sorry for the bad news.
Regards,
Philippe.
Philippe Leefsma
Developer Consultant
Developer Technical Services
Global Subscription & Support
Autodesk EMEA
Hi,
sorry for posting the same question twice (http://forums.autodesk.com/t5/Autodesk-Inventor/Inventor-API-PartFeature-question/td-p/3931800). Did the situation improve in version 2013 or 2014?
Another question in the same context:
When I use the transcripting-tool and do the extension, I see the following code in the .tf-file:
ActiveDocument.Execute("Document1","Create Extend","Edges=[0 T::3 P::[0x40000000 0x4031ffc9 0x66667000 0x3ecc5666 0xbbbbbbbd 0x400c1ea4 ] B::[16],];Bodies=[Document1.PmDCSegment.41,];Edge2Body=[0,];ExtendType=1;TerminationType=1;Distance=10;AllowRetry=1;AllowIgnore=0;")
Shouldn't it be possible to use this line of code in VB?
When I try to do this, the code doesn't work and drag & drop of the .tf file into the Inventor window doesn't work either. Do you have an idea why?
Thanks a lot,
Stefan
The transcript code cannot be run in VB or any other language directly. Only the existing methods can be invoked from the API. Unfortunately ExtendFeatures cannot be created yet from API.
Regards,
Philippe.
Hi,
I hope reviving an old question isn't a problem. I'm trying to do this in 2017 Inventor, and it doesn't seem to have been resolved. Can anyone confirm?
Thanks