Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Running transcript files in Inventor 2011

1 REPLY 1
Reply
Message 1 of 2
cadsupport
357 Views, 1 Reply

Running transcript files in Inventor 2011

I'm still struggling with transcript files.

 

My aim is to benchmark client performance in opening files from vault in Inventor.

I have created a transcript file to download, checkout, update and checkin files from within Inventor 2011. 

The transcript file works perfect, but a full automation would require an automated execution of this script.

 

I have used a bit of VBA code:

 

Sub AutoStart()

Dim Inventor As Application
Dim ActiveDocument As Inventor.Document
Dim oControlDef As ControlDefinition


ThisApplication.SilentOperation = True
Dim ComMan As CommandManager
Set ComMan = ThisApplication.CommandManager

Call ComMan.PostPrivateEvent(kFileNameEvent, "c:\temp\transdir\testfall-1.tf")
Set oCtrlDef = ComMan.ControlDefinitions.Item("AppReplayTranscriptCmd")
oCtrlDef.Execute

 

ThisApplication.SilentOperation = False

 

End Sub

 

Although I have added the PostPrivateEvent, the dialog will always pop-up, that asks for the transcript file name.

 

Can anyone help?

1 REPLY 1
Message 2 of 2
cadsupport
in reply to: cadsupport

Oh, and it doesn't have to be VBA. I'm more familiar with C#. So if there's a function in C# for calling a transcript file, that would do the job.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report