public Nailboard CreateNailboardFromTemplate( string name, string templatePath, IEnumerable<WireHarnessInfo> harnesses, NailboardDisplayConfigurationInfo displayConfiguration, ElectricalConfigurationInfo electricalConfiguration )
Parameters
- name
- Name of the new nailboard. No two nailboards in the project can have the same name.
- templatePath
- Path to the template file (*.hxnt).
- harnesses
- Harnesses from which this nailboard will be derived. Only harnesses from one type of designer are allowed (all from Workspaces or all from Workdesks).
- displayConfiguration
- Display configuration. Obtain from Project.GetDefaultNailboardDisplayConfiguration or Project.GetNailboardDisplayConfigurations. If not provided then it is taken from the template.
- electricalConfiguration
- Electrical configuration. Obtain from GetElectricalConfigurations. (Optional: If you do not set any electrical configuration, no electrical configuration filter will be used and all existing objects will be used.)
Return Value
New nailboard.