URL parameters
You can build an eShare URL with URL parameters, for example, when you want to link to eShare from an external system. Separate the parameter and the value with an equals sign (=), and separate the parameters with an ampersand character (&). The order of the parameters does not affect the result.
For example: https://<server>:<port>/#/p/<project id>/model?<urlParameter>=<urlParameterValue>&<urlParameter2>=<urlParameter2Value>&...
The maximum length of the URL is 2048 characters. Note that some characters, for example, vertical line and space character, are encoded by the browser and take the space of three characters instead of one.
Parameter | Description | Value range |
---|---|---|
positionId&tag |
Examine an object by using its position ID. Examine an object based on the object's tag. An object's tag is the abbreviation of the object's attribute. A tag is needed to differentiate objects, if two or more objects share the same position ID. To examine an object based on the object's tag, you also need to provide the object's positionId parameter. Used only with key attributes. |
Position ID of the object. Example: https://<server>:<port>/#/p/<projectGUID>/model?positionId=722-PS1 Tag of the object. Example: https://<server>:<port>/#/p/<projectGUID>/model?positionId=722-PS1&tag=.n5 |
groupParentTag&groupChildTag&groupId |
Examine a group object by specifying the parent and child object's attribute abbreviation, and the group's ID. groupParentTag is the abbreviation of the group's attribute in brackets []. groupChildTag is the abbreviation of the group's attribute. groupId is the value of the group's attribute. |
Example: https://<server>:<port>/#/p/<project id>/model?groupParentTag=[sys]&groupChildTag=sys&groupId=Air |
attributeValue&tag |
Used with tag to locate any object or group of objects by attribute abbreviation and value. |
If the following string finds only one instance, it opens the object in examine mode: Example: https://<server>:<port>/#/p/<projectGUID>/model?tag=len&attributeValue=1950 If the following string finds multiple instances, the search page opens: Example: https://<server>:<port>/#/p/<projectGUID>/model?tag=len&attributeValue=619 --> Multiple hits opens search page If the following string finds a group, it opens in examine mode: Example: https://<server>:<port>/#/p/<projectGUID>/model?tag=[pli]&attributeValue=177-035 |
attributePaneVisibility |
Defines the visibility of the properties pane. |
Show – shows the properties pane Hide – hides the properties pane. Example: https://<server>:<port>/#/p/<projectGUID>/model?attributePaneVisibility=Show |
examineBranchPath |
Opens the defined branch in the model tree. |
Define the complete path to the branch in the model tree, starting from "Models". Separate the branches with three semicolons (;;;). Use the hierarchyName parameter to define the source hierarchy of the given path. Example: https://<server>:<port>/#/p/<project id>/model?examineBranchPath=Models;;;Branch1;;;Branch2&hierarchyName=Isometric%20Drawings%20and%20Spools |
examineFlags |
Enables modifying the examine parameters when examining an object with a URL parameter. Combine the examineFlags parameter with the multiExamine parameter to include multiple objects in the URL. You can also combine the flags. For example, flags 1 + 2 = 3, which enables orbiting and hides other objects. |
0 = Disable orbiting, show all objects 1 = Enable orbiting, show all objects 2 = Disable orbiting, hide other objects 4 = Dim all objects that are not being examined 8 = Turn off highlighting for the examined objects 16 = Turn off the X-ray mode for the examined objects 32 = Open the examined objects in clip box 64 = Clear the selection highlight of the examined objects and show the objects according to the applied visual style For example, if the position ID of an object in the 3D model is "P001", you can use the following kind of URL to start examining that object so that orbiting is enabled and also all other objects are visible: Example: https://<server>:<port>/#/p/<projectGUID>/model?positionId=P001&examineFlags=1 |
hierarchyName |
Changes the active hierarchy. |
Name of the hierarchy. Example: https://<server>:<port>/#/p/<project id>/model?hierarchyName=Isometric%20drawings%20and%20spools sets the hierarchy to "Isometric drawings and spools". |
guidId |
Allows examining an object or a group based on its GUID id. This is useful when the original 3D model imported to eShare contained GUID id data. |
GUID id of the object or group. Example: https://<server>:<port>/#/p/<projectGUID>/model?guidId=A491C908-AFF2-4369-BE2E-D7BB1F3A974A |
pointCloud |
Enter a point cloud view by using its CPX file name. |
Point cloud CPX file name. Example: https://<server>:<port>/#/p/<projectGUID>/model?pointCloud=example.cpe.[000].%7B%d%7D.cpx |
pointId |
Smart Point ID. Example: https://<server>:<port>/#/p/<projectGUID>/model?pointId=654321 |
|
pointReference&poiKind |
Locate a point in the model and show its properties by using the point's External Id |
pointReference should be given the desired point's exact External Id, and poiKind can be used to specify the type of the point. pointReference can be used without poiKind, but poiKind cannot be used on its own. Example: https://<server>:<port>/#/p/<project id>/model?pointReference=ID1234&poiKind=SmartPointType1 |
markupId |
Examine a Markup by using its ID. |
Markup ID Example: https://<server>:<port>/#/p/<projectGUID>/model?markupId=123456 |
multiExamine |
Enables examining multiple objects. |
Objects' attribute abbreviation and value. In case of group objects, use the parent attribute abbreviation. Separate the objects with a vertical bar (|) and the attribute abbreviations and values with a colon (:). Example: http://<server>:<port>/#/p/<project id>/model?multiExamine=.n5:AE-SW-P001|.n5:722-PS1|.n5:722-PS2|[sys]:722-SWC|.ne:R110202 |
searchFor&searchScope |
searchFor takes a string which is matched directly to the entities of the given scope. searchScope takes a string which lists the types of entities that searchFor goes through. |
With searchScope the types are separated with a comma, and are case-insensitive. If searchScope is not given in the URL, but searchFor is, the default scope used is "objects, groups, points". Available types are: objects – search through the objects in the model; searchFor tries to match to the object's key attribute's value groups – search through the groups in the model; searchFor tries to match to the group's key attribute's value points – search through the points of interest (smart points, markups) in the model; searchFor tries to match the point's name value. If unsuccessful, it tries to match the point's external ID value. smartPoints – search through the smart points in the model; searchFor tries to match the smart point's name value. If unsuccessful, it tries to match the smart point's external ID value. smartPointsByName – search through the smart points in the model; searchFor tries to match the smart point's name value only smartPointsById – search through the smart points in the model; searchFor tries to match the smart point's external ID value only markups – search through the markups in the model; searchFor tries to match the markup's name value The scope is iterated in the given order when finding a match. If a match or multiple matches is found in one type, the search is stopped, which means that possible other matches found in other types will not be found. If there is a single match, eShare Model view will examine it. The parameter examineFlags can be used to alter the way an object is examined, but it will not do anything if the match is a Smart Point. If there are multiple matches,eShare will take the user to search, where all found matches will be shown. The parameters searchFor and searchScope can be combined with following old parameters: tag – narrows down the search with objects and groups poiKind – narrows down the search with points of interests Examples: <domain:port>/model?searchFor=exampleName&examineFlags=17 <domain:port>/model?searchFor=exampleName&searchScope=objects,smartPoints <domain:port>/model?searchFor=exampleName&searchScope=points&poiKind=PoiKindName <domain:port>/model?searchFor=exampleName&tag=sys |
treeVisibility |
Specifies the visibility of the model tree sidebar. |
Show – shows the sidebar. Hide – hides sidebar. Example: https://<server>:<port>/#/p/<projectGUID>/model?treeVisibility=Show |
visualStyleName |
Specifies the visual style that is applied to the 3D model. |
Name of the visual style, can be the predefined or project-specific visual style. Example: https://<server>:<port>/#/p/<projectGUID>/model?visualStyleName=Normal visual style |
x&y&z&r&s |
Moves the camera to the specified location (x, y, z coordinates), with the optional rotation and slope (r and s coordinates). |
Coordinates of the location. Example: https://<server>:<port>/#/p/<projectGUID>/model?x=23131&y=-5079&z=10208 |