Relations Creo 11 Bounding Box to Parameters
Hello, I am trying to create a map key that will auto create the new "enclosure volume" feature then take its x,y,z dimensions and add them to a parameter in my bill of materials. My biggest issue is the enclosure volumes parameters have an "internal feature ID" attached to them and is unique between components if I want to reuse this map key which then causes failures in the relations for PTC_BBOX_X:FID_(should have an ID number instead of stars.) I tried to incorperate copy and pasting the the feature ID from the feature information but that part of the map key doesnt work as it only pastes what was copied when map key was made. I also tried inserting the bounding box parameters in the map key and that failed as well because it cant find the parameters agian because of the internal feature ID.
Here are my current Parameters:
FINISH_SIZE string
XR real number
YR real number
ZR real number
X string
Y string
Z string
Here are my relations:
XR=CEIL(PTC_BBOX_X:FID_****,3)
YR=CEIL(PTC_BBOX_Y:FID_****,3)
ZR=CEIL(PTC_BBOX_Z:FID_****,3)
X=RTOS(XR)
Y=RTOS(YR)
Z=RTOS(ZR)
FINISHSIZE=X+"x"+Y+"x"+Z
The XR, YR, ZR relations are to take the values of the bounding box parameters and limit them to a rounded up 3 decimal real number. the X, Y , Z rtos relations are to convert the real number to text string. The finish size relation is to tie all the text strings together from X, Y, Z strings to make the size of the block for a BOM. example 5.1x.155x2.51.
Any solutions to what I am trying to do?

