CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 17188

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    10072×  
Prices - CAD eShop:
applies to: Inventor 2016 · Inventor 2015 ·

See also:
Tip 14022:Comparing design versions in Autodesk Fusion.
Tip 13770:How do I revert to a previous version of the model in Fusion 360?
Tip 13402:Which products and features can I use for free with Flex Token licensing?
Tip 12406:How to log out automatically from your Autodesk account after closing an app?
Tip 12314:How to display OBJ models including textures in A360?


Back   All CAD Tips



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:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension More info


Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist