Execute Transcript file Inventor 2017

Execute Transcript file Inventor 2017

Anonymous
Not applicable
563 Views
3 Replies
Message 1 of 4

Execute Transcript file Inventor 2017

Anonymous
Not applicable

Hello,

 

I've used this forum a lot and always found a solution for my problems, until now. So I have to ask for your help personally this time.

 

What I want to do:

Calling/Execute various transcript files at different positions while executing a VBA Code.

 

I already got the (working) transcript files, and I am able to execute them manually via

"ThisApplication.CommandManager.ControlDefinitions.Item("AppReplayTranscriptCmd").Execute"

 

The Problem:

I have to choose which Transcript File I want to execute in the file browser.

I want it to be handled like I would Call a Sub in the normal VBA Code, so, automatically. That would be really nice.

 

Is this possible?

If not, is there a workaround?

 

Thanks for your time.

0 Likes
564 Views
3 Replies
Replies (3)
Message 2 of 4

b_sharanraj
Advocate
Advocate

When you are fine to put what you want in Vba Coding I don't know why you are using Transcript.

 

At-least you can use iLogic but why Transcript? Is there any specific reason for this?

 

Meanwhile I'm not much aware about Transcript I'm just trying in what way Transcript is good than Vba and iLogic Coding.

Regards

B.Sharan Raj

0 Likes
Message 3 of 4

Anonymous
Not applicable

I tried it coding it with VBA.

Basically I have to set certain constraints and I'm having trouble in coding the VBA code for that.

 

I wanted a simple solution because I have not that much time, so simply recording the scripts and calling them would be fast and do the job.

 

Currently I'm trying to set up the code. Altough I think it shouldn't be that hard to make constraints using iMates in an existing assembly, I'm stuck with that.

0 Likes
Message 4 of 4

ruthsteed
Autodesk
Autodesk

I'm sorry, but I don't think you'll be able to do what you want using transcripts. Transcripts are very specific to the environment they are recorded in and are generally only useful for application testing and reporting problems to Autodesk (the transcript can capture specific steps that led to a problem making it easier to convey this information).  Replaying a transcript in a different part or part state will result in undefined behaviors. Any success you've had so far with this has probably been accidental.

 



Ruth Steed
Inventor Development Team
Autodesk, Inc.