How to store patterns in XML files
You only need this when you want to import fastener dimensions into Lightning fully automatically.
For most users, doing the import manually once is faster than using these files. We explain how to do it manually here.
Filename requirements
- The file needs to start with Lightning-ImportSettings-
- Note the dash at the end
- The filename can have any text or number after the required part. This way, you can create unique filenames that do not cause a problem with PDM.
- The extension needs to be .xml
- Example: Lightning-ImportSettings-16.xml
Example
1 2 3 4 5 6 7 8 9 10 11 | <?xml version="1.0" encoding="utf-8"?> <ImportSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <ConfigurationNamePattern></ConfigurationNamePattern> <FastenerType>Bolt</FastenerType> <FilenamePattern>[Standard]-M[Diameter]x[Length]-[Material]-[Coating]</FilenamePattern> <ThreadType>Metric</ThreadType> <CustomPropertyName></CustomPropertyName> <CustomPropertyPattern></CustomPropertyPattern> <Description>Hexagon head bolt - partial thread</Description> <ThumbnailImage>HexagonHeadPartialThread</ThumbnailImage> </ImportSettings> |
Available fastener types
This list keeps getting longer. Check out this Knowledge Base article on supported fastener types.
Available pattern tags
We keep a list here.