Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hi community,
I want to get the value of an attribute in the code below. The attribute is of type real number, defined by the com.ptc.core.meta.common.FloatingPoint class. When I try to get the value it doesn't give me any results. Can you help me?
com.ptc.core.lwc.server.PersistableAdapter obj = new com.ptc.core.lwc.server.PersistableAdapter(part,null,java.util.Locale.getDefault(),new com.ptc.core.meta.common.UpdateOperationIdentifier());
obj.load("SURFACE_M2 ");
SURFACE_M2 = (com.ptc.core.meta.commmon.FloatingPoint) obj.get("SURFACE_M2");
Solved! Go to Solution.
Hi @smcvr
Wrong name definition >D
obj.load("SURFACE_M2 ");
You added a space in the end. Remove it.
PetrH
what is the windchill version ?
Hi @smcvr
Wrong name definition >D
obj.load("SURFACE_M2 ");
You added a space in the end. Remove it.
PetrH