Export 3D DWF using apprentice

Export 3D DWF using apprentice

Jef_E
Collaborator Collaborator
697 Views
4 Replies
Message 1 of 5

Export 3D DWF using apprentice

Jef_E
Collaborator
Collaborator

Hi,

 

Short :

I am looking for a flexible way to create a 3D DWF from my assembly without that I can forget to update it 😄 I know the path where to store it. Can apprentice be used for this? Or does it only allow sheets to be exported?

 

 

Longer :

My goal is exporting a up-to-date model from my main assembly. My best bet to update the 3D model regular is the OnSaveDocument event to trigger a export, but I don't want to wait each time I save the model to complete the export.

 

So I thought lets use a background worker to do all the fun of exporting? But when using the Inventor application I am still stuck, because Inventor is busy. So I am looking for a alternative to export the 3D DWF. Maybe apprentice can do this? I can't find anything in the API about it but maybe I overlooked it.

 

Please advise 😄



Please kudo if this post was helpfull
Please accept as solution if your problem was solved

Inventor 2014 SP2
0 Likes
698 Views
4 Replies
Replies (4)
Message 2 of 5

Jef_E
Collaborator
Collaborator

Bump



Please kudo if this post was helpfull
Please accept as solution if your problem was solved

Inventor 2014 SP2
0 Likes
Message 3 of 5

frederic.vandenplas
Collaborator
Collaborator

I would personally create a seperate exe which uses apprentice.

When you save, create a bat file which is exectuted by windows task manager (let's say every minute)

and passes parameters to the seperate exe.

Once the bat file is created, inventor will not longer be in an "idle" state.

 

 

If you think this answer fullfilled your needs, improved your knowledge or leads to a solution,
please feel free to "kudos"
0 Likes
Message 4 of 5

Jef_E
Collaborator
Collaborator

But is it possible by using apprentice? I can only find samples for exporting drawing dwf files..



Please kudo if this post was helpfull
Please accept as solution if your problem was solved

Inventor 2014 SP2
0 Likes
Message 5 of 5

frederic.vandenplas
Collaborator
Collaborator

Apparently not (did not investigated this)

http://adndevblog.typepad.com/manufacturing/2012/06/create-dwf-files-using-inventor-apprentice.html

 

But you can start another background inventor session which does the job 🙂

If you think this answer fullfilled your needs, improved your knowledge or leads to a solution,
please feel free to "kudos"
0 Likes