Arbortext IsoView > Programmer's Reference > General Functions > Iso3OpenFile
  
Iso3OpenFile
Open a file using a URL. This URL may contain a fragment.
Introduced with Arbortext IsoView 3.0.
Syntax
Iso3OpenFileurl
The url parameter defines the url which should be opened as BSTR.
Allowed URLs are:
http.../abc.iso
absolute URL
abc.iso
relative URL, if a file is open only
abc.iso#fragment
fragment specifies object or viewport
#fragment
fragment points to current file
In case of success the method returns true, otherwise false.
Open the file at the specified location and navigate to the object myObj1:
http://www.ptc.com/abc.iso#id(myObj1)
Fragment samples using the ID of the object:
// navigate to object "myObj1"
#id(myObj1)
// zoom to the object's view context
#id(myObj1,view_context)
// highlight the object
#id(myObj1,highlight)
Fragment samples using the name of the object:
// navigate to object "myName1"
#name(myName1)
// zoom to the object's view context
#name(myName1,view_context)
// highlight the object
#name(myName1,highlight)
// highlight all objects with this name
#name(myName1,highlight_all)
The fragment syntax is defined in the WebCGM specification. It may also be used for CGM and Arbortext IsoDraw files; e.g., http://www.ptc.com/abc.iso#id(myObj1).