CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2547 

CAD tip CAD tip # 10426:

Question CAD 
 %  platform  category 
Q - question

How to display any web page in Inventor?

A - answer In Inventor, you can use the function "Team Web" (Get Started > Launch > Team Web) to display any HTML document or web page. You can preset default page address for this function (alternatively also for the "My Home" function) in the application options, on the File tab:

The default setting is the file %PUBLICDOCUMENTS%\Autodesk\Inventor 2015\Web\en-US\CustomHelpSample.htm - you can change it e.g. to the address of this portal - www.cadforum.cz.

If you want to display a given web page, without changing the setting permanently, you can use the following code of an iLogic rule:

'Default application settings
'default web page/file:
'%PUBLICDOCUMENTS%\Autodesk\Inventor 2015\Web\cs-CZ\CustomHelpSample.htm
' =
'C:\Users\Public\Documents\Autodesk\Inventor 2015\Web\cs-CZ\CustomHelpSample.htm

'web page to display, e.g. "www.google.com"
Dim targetUrl As String = "www.cadforum.cz" 

'Store current settings
Dim defaultUrl As String = ThisApplication.FileOptions.TeamWebFullFilename
Try
    'Temporary chnge settings
    ThisApplication.FileOptions.TeamWebFullFilename = targetUrl

    'Open webpage
    ThisApplication.CommandManager.ControlDefinitions("AppTeamWebCmd").Execute()
Finally
    'Restore settings to original value
    ThisApplication.FileOptions.TeamWebFullFilename = defaultUrl
End Try
Inv2016Inv2015
100% *  CAD 
27.7.2015    3047x  
Comments   Tell a friend
applies to: Inventor 2016 · Inventor 2015 ·

See also:
Tip 9528:Using Autodesk Fusion 360 as a CAD converter.


Back   All CAD Tips All CAD tips&tricks

How to open files in A360 Drive from Inventor or any other application? « | » How to switch language of the simulation software Autodesk CFD?

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Track your time spent working on AutoCAD or Revit jobs - automatically with
CADstudio JobTime More info


Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist