CAD Files
The CAD Files Module Suite is a collection of two modules, Files, and Projects. When creating a File in the Files Module, please make sure that there is at least one
Project that you can tag it to. These files are supported currently:
- .skp
- .sldasm
- .sldprt
- .stp
- .dwg
- .gp4
- .nwd
- .cgr
- .obj
Note: If you need more files to be supported, please contact your production staff member.
There are 2 file 'Types', 2d and 3d. .dwg and .gp4 are considered 2d Types and will open with a different viewer than the all the other file types.
CpScripts for this Module Suite
Results View
Results Link To Viewer
This DataBind shows a link to the CAD Viewer depending on what type it is on the Results View.
[cp:literal:databind key='ResultsLinkToViewer(Container.DataItem, "View CAD File", "", "")' /]
| Property |
Description |
| Container.DataItem |
This property must stay as Container.DataItem. |
| LinkTitle |
Text which will be displayed as title of href. |
| Roles |
Optional. When this property is set to a comma separated list of role system names the script will return the empty string unless the current user belongs to one of the included roles. |
| Format |
Place a {0} where you want the link to be populated. |
Details View
Details Link To Viewer
This DataBind shows a link to the CAD Viewer depending on what type it is on the Details View.
[cp:literal:databind key='DetailsLinkToViewer("View CAD File", "", "")' /]
| Property |
Description |
| LinkTitle |
Text which will be displayed as title of href. |
| Roles |
Optional. When this property is set to a comma separated list of role system names the script will return the empty string unless the current user belongs to one of the included roles. |
| Format |
Place a {0} where you want the link to be populated. |