Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi,
When I try to create WTPart using Windchill Part Creation Utility I got an error:
>>> Choose an option: 3
wt.util.WTException: LifeCycle state "CAD Data Management.INWORK" mapping is not found in lifecyclemap.properties.xconf file. Please make the entry and propagate it.
I compare lifecyclemap.properties with another machine where utility works fine and I can't find the difference.
Properties.xconf file looks like this:
<Property default="Basic" name="Basic"/>
<Property default="Basic.INWORK" name="Basic.INWORK"/>
<Property default="Basic.RELEASED" name="Basic.RELEASED"/>
<Property default="Basic.CANCELLED" name="Basic.CANCELLED"/>
<Property default="Review" name="Review"/>
<Property default="Review.INWORK" name="Review.INWORK"/>
<Property default="Review.UNDERREVIEW" name="Review.UNDERREVIEW"/>
<Property default="Review.CANCELLED" name="Review.CANCELLED"/>
<Property default="Review.COMPLETED" name="Review.COMPLETED"/>
<Property default="Release" name="Release"/>
<Property default="Release.INWORK" name="Release.INWORK"/>
<Property default="Release.UNDERREVIEW" name="Release.UNDERREVIEW"/>
<Property default="Release.RELEASED" name="Release.RELEASED"/>
<Property default="Release.REWORK" name="Release.REWORK"/>
<Property default="Release.REJECTED" name="Release.REJECTED"/>
<Property default="Release.CANCELLED" name="Release.CANCELLED"/>
<Property default="One Phase Development" name="One Phase Development"/>
<Property default="One Phase Development.DESIGN" name="One Phase Development.DESIGN"/>
<Property default="One Phase Development.PROTOTYPE" name="One Phase Development.PROTOTYPE"/>
<Property default="One Phase Development.RELEASED" name="One Phase Development.RELEASED"/>
<Property default="One Phase Development.OBSOLESCENCE" name="One Phase Development.OBSOLESCENCE"/>
<Property default="One Phase Development.UNDERREVIEW" name="One Phase Development.UNDERREVIEW"/>
Can someone help me with setup this property? I just want to create WTpart for CAD .prt and .asm
Solved! Go to Solution.
Hi @MattPat
I guess that the error shows a missing definition of LC CAD Data Management in the file.
So insert all necessary lifecycle states to the file of the Lifecycle template
<Property default="CAD Data Management" name="CAD Data Management"/>
<Property default="CAD Data Management.INWORK" name="CAD Data Management.INWORK"/>
<Property default="CAD Data Management.RELEASED" name="CAD Data Management.RELEASED"/>
<Property default="CAD Data Management.CANCELLED" name="CAD Data Management.CANCELLED"/>
Hope this can help.
PetrH
Article - "How to use the lifecyclemap.properties with Part Creation Utility in Windchill 10": https://www.ptc.com/en/support/article/CS74434
@VladimirN thanks, but can I add this without using xconfmanager?
In xconf file:
WARNING: Do not modify this file after it has been installed. Use xconfmanager to set, reset, or undefine properties for your installation
This file contains redefined mappings for Basic, Review, and Release life cycles.
Do you know the correct command to add a new property to this file with xconfmanager?
Thanks in advance
Hi @MattPat
I guess that the error shows a missing definition of LC CAD Data Management in the file.
So insert all necessary lifecycle states to the file of the Lifecycle template
<Property default="CAD Data Management" name="CAD Data Management"/>
<Property default="CAD Data Management.INWORK" name="CAD Data Management.INWORK"/>
<Property default="CAD Data Management.RELEASED" name="CAD Data Management.RELEASED"/>
<Property default="CAD Data Management.CANCELLED" name="CAD Data Management.CANCELLED"/>
Hope this can help.
PetrH
thanks! that works!