|
I am trying to establish a reusable color replacement algorithm. This would exchange my inventor colors for designated Showcase materials. I am able to get the algorithm to work. The problem comes when I want to have the mapping algorithm assign certain showcase extended materials. I can assign materials from the folders with singular names (Plastics, Metals and so on) but I am unable to assign materials from the folders that contain a dash with in the folder name, designating a subcategory (Glass - Architectural, Metal - Steel, Paint - Metallic). I think this might be a problem with syntax with the mapping algorithm.
This is the general form for replacing a material by name:
[Names Example2]
Type: Names
Something: Metal::Gold
OrOther: Wood::Maple-Hi Gloss
An example of what I am trying to get to work:
Black: Paint - Metallic::Metallic Paint Black Satin
I can get my material to replace, so I believe the syntax error exists to the right of the first :
If anybody has any idea about the syntax issue, or if these materials are not accessible in this fashion I would love to hear about it. For now, I will keep trying different syntax (location of spaces, other small changes) and hopefully I will find the error.
Dan
|
|
|
|
I found the answer!!!
the general form of these folders as listed is “Category - Subcategory”
I looked at the naming of the source folders and tried “Category_Subcategory”
This is the correct syntax and works fine.
ex.
Black: Paint_Metallic::Metallic Paint Black Satin
I hope this helps somebody out.
|
|
|