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

COM / Examples: How to run?

3 REPLIES 3
Reply
Message 1 of 4
dennis
570 Views, 3 Replies

COM / Examples: How to run?

I admit this is a newbie question, but I can't seem to find the answer.  I understand how to get access to the PLUGIN folders programs via registering them.  But "how" do I run the other examples in the ACTX folders and the AUTO folders?

3 REPLIES 3
Message 2 of 4
dennis
in reply to: dennis

My Auto08.bat file reads:

C:\TEMP\AUTO_08.vbs   ;;(yes, I copied AUTO_08.vbs into the TEMP folder)
"C:\TEMP\testing.nwc"    ;;(yes, this NWC exists)
"C:\TEMP\duh.nwd"

"Title"
"password"
"11/04/2012"

 

When I run the bat file, first thing I get is the error msg:ScriptErr.png

When I OK the err msg box:

NW loads the NWC, but then nothing else happens

Message 3 of 4
xiaodong_liang
in reply to: dennis

Hi,

 

The error dialog means the line 46 of your code is problematic. Please check the logic of the code and if relevant lines before line 46 work well. Setting some msgbox to check the variables is one way I sometimes use to investigate VBS.

 

As I know, ‘subscript out of range’ is a common error which may occur for many kinds of reasons. Probably you could google with the keywords “subscript out of range” , or “ 800a0009”.

 

Or you would need to post a sample here to be diagnosed.

 

 

Message 4 of 4
dennis
in reply to: xiaodong_liang

Thanks Xia:  I admit, I was trying to use a routine provided by Adesk in the examples folder.  I am not a programmer, so I am lost at debugging.  Thanks for your help.

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report