The Insert Library Feature will insert a named Library Feature onto a named Face.
When using this Generation Task there are a few things that are worth noting before trying to use the task.
Firstly you need to make sure that you have named the Face you wish to insert the Library Feature on. To name a Face you will need to use the Face Properties menu. This can be found by right clicking on the Face, extending the menu and then selecting Face Properties.
Another thing to consider is the file path rule. When creating the file path rule, it is important to remember to include the extension .sldlfp.
For this Generation Task the order of the Planes is important too. If the order doesn't match the order that the Planes are captured in the Reference Folder the task will not work.
Property Name | Description |
---|---|
(Name) | The unique name for this task. |
Configuration Name | The name of the Configuration of the library feature that will be used. |
Configurations in which to Suppress Features | Pipebar (|) delimited list of Configurations in which the sub features are to be suppressed. |
Face Name | The name of the Face the library feature will be inserted onto.
When DriveWorks parses the model looking for the named Face it will look for an exact match (case sensitive) first.
If an exact match is not found it will look for a non-case-sensitive match, after completing the first. Ensuring the Face Name is exactly as it was created will make Model Generation more performant. |
Features to Suppress | Pipebar (|) delimited list of sub features to suppress after insertion. |
Library Feature Filename | The full path to the library feature. |
Size Dimension Names | Pipebar (|) delimited list of dimension names (for example Left|Right|Back). This must be uniquely named in each library feature as the sketch and feature names will change when inserted. |
Size Dimension Values | Pipebar (|) delimited list of dimension values in model units (for example 10|120|8). |
First Plane | The name of the first Mating Plane. |
Second Plane | The name of the second Mating Plane. |
When this task is added the properties are both static and dynamic by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.
Property Name | Example Rule | Example Result | Meaning |
---|---|---|---|
Configuration Name | "Default" | Default | The name of the configuration of the library feature that will be used. |
Configuration in which to suppress | "Config2" | Config2 | Pipebar (|) delimited list of Configurations in which the sub features are to be suppressed. |
Face Name | "Face for slot" | Face for slot | The name of the face the library feature will be inserted onto. |
Features to Suppress | "HexagonCorners" | HexagonCorners | Pipebar (|) delimited list of sub features to suppress after insertion. |
Library Feature Filename | "C:\ProgramData\SOLIDWORKS\[SOLIDWORKS Version]\design library\features\metric\DriveWorks\slots\straight slot.sldlfp" | C:\ProgramData\SOLIDWORKS\[SOLIDWORKS Version]\design library\features\metric\DriveWorks\slots\straight slot.sldlfp | The full path and name of the library feature |
Size Dimension Names | "CutOutWidth|CutOutHeight" | CutOutWidth|CutOutHeight | Pipebar(|) delimited list of the dimensions names. |
Size Dimensions Values | "30|20" | 30 | Pipebar(|) delimited list of dimension values for the model. |
First Plane | "Right Plane" | Right Plane | The name of the first mating plane. |
Second Plane | "Top Plane" | Top Plane | The name of the second mating plane. |
Using the default Library Feature Parts installed with SOLIDWORKS will cause dangling dimensions due to the sketch position being defined by edges in the .sldlfp file.
If using SOLIDWORKS Library Feature Parts is desired, the sketch in the .sldlfp file must be changed so that the sketch position is defined by planes rather than edges.
Recommended practice is to copy the .sldlfp files to another folder before editing, leaving non customized files in the original location.
This Task can be added to the following Generation Sequence(s):
DriveWorks Tech Tips Portal |
Insert Library Feature Gen Task This project demonstrates how Insert Library Feature can be applied to your models. |
DriveWorks Tech Tips Portal is available to DriveWorks Pro customers with an active subscription and support contract. Tech Tips provide cut down projects that highlight specific functionality for faster and more effective learning. To access the portal:
The portal provides a search facility, start typing the name of the Tech Tip (as indicated above) to display the Tip you require. |