Cabling - Automatic wire spool creation with .spl/.nwf
- August 23, 2024
- 2 replies
- 2295 views
CREO 9
I'm trying to create wire spools using an .nwf style format created in excel, based on:
- An exported file based on a set of manually created wire spools
- Templates from
@BrianMartin - The syntax examples found here: About Neutral Format Wire List (ptc.com)
- A .spl file written from a manually created wire spool
I've tried the following format:
"NEW WIRE_SPOOL DATA
PARAMETER MIN_BEND_RADIUS 9
PARAMETER THICKNESS 3
PARAMETER UNITS MM"
... as well as variations of it to include "PARAMETER NAME_FORMAT W-###", "PARAMETER COLOUR [COLOUR]", "PARAMETER DENSITY [DENSITY]" & "PARAMETER MASS_UNITS KG" and exclude the "PARAMETER" from every line as per the .spl file.
I've tried including the this text in the .nwf file for my part designation data, and copying the formatted text into Notepad and save it as a .spl file as I don't have access to Creo schematics. However I keep getting the following error message, with the number changing based on how many parameters I'm trying to use etc. Error message:
1 WARNING: Extra characters found at end of line.
...
39 WARNING: Extra characters found at end of line.
40 ERROR: Required parameter NAME is missing.
40 ERROR: Required parameter TYPE is missing.
I've also attached a screenshot or the error when attempting to copy the .spl format, as well as a .txt version of my .spl file.
Is there a different format for .spl files, or why won't it work when I include it in my logical data file? Any help is massively appreciated, thank you.


