Thanks,
You really cracked it so easily, I'm trying this for almost a week
But there is minor bug in the existing code
Both the weights are coming in Kg, once should be Lbs, I tried to correct the code but no success
Hope you can help me on that.

Now I want to develop the form a little more on the replaced Size Data
For the Replace size, I want a dropdown that shows all the available size option from content center in that respective Family and standard.

The data for dropdown is available in content center as shown in below image.

Once I select the part, the Ilogic rule must perform a calculation as below.
Calculation
- LENGTH = EXISITNGWEIGHT_LBS / EXISTINGWEIGHT_MASSPERLENGTH
LENGTH should be in ft (Even if it is in other units, it should be converted to ft)
EXISITNGWEIGHT_LBS = CAM-WEIGHT Lbs (you made custom Iproperty for this earlier program, only the bug need to be fixed)
EXISTINGWEIGHT_MASSPERLENGTH should be in Lbs/ft. The data is available in content center, Even if it is in other units, it should be converted to ft. (Explain in later part of the explanation on how to identify this data)
- REPLACEDWEIGHT_LBS = REPLACEDWEIGHT_MASSPERLENGTH * (LENGTH / 12 ul )
REPLACEDWEIGHT_LBS should be in Lbs(Even if it is in other units, it should be converted to ft)
REPLACEDWEIGHT_MASSPERLENGTH should be in Lbs/ft. The data is available in content center, even if it is in other units, it should be converted to ft. (Explain in later part of the explanation on how to identify this data)
For the above calculation, I have created all the above mentioned as user parameter as in below Image. But If it easy for you, you can create the rule with all the parameter shown as custom Iproperty too, whichever is convenient for you.

In the replaced size data group, I need rule for below application
- Existing Size and Weight in Lbs and Kg correctly will be filled as per your previously provided code once you gave me an update on that
- I have created a list of parameters in the inventor which need to be filled by a rule as follow below.
- A) EXISITNGWEIGHT_LBS = CAM-WEIGHT Lbs
- B) EXISTINGWEIGHT_KG = CAM-WEIGHT Kgs
The above two parameter can be filled by the data that you got using the rule you provided.

- C) LENGTH is a calculation that require EXISTINGWEIGHT_MASSPERLENGTH and EXISITNGWEIGHT_LBS
EXISTINGWEIGHT_MASSPERLENGTH should be in Lbs/ft (Even if it is in other units, it should be converted to ft)
The EXISTINGWEIGHT_MASSPERLENGTH can be get from Content center data as specific mass of the particular stock size of Existing size.

But If you look at the unit it is in Kg/m, but its value should be converted to Lbs/ft.
The specific mass is available in other unit also like Kg/mm, Pounds/ft, Lbs/ft etc so rule should identify the unit of that column and should convert the specific mass to Lbs/ft. Below are some sample example of other units.
- D) REPLACEDWEIGHT_MASSPERLENGTH is required to calculate REPLACEDWEIGHT_LBS.
This can be got similar to how we got REPLACEDWEIGHT_LBS.
Again, I created this as user parameter but if you feel there is any other better way, you can make it that way
Thanks for the help in Advance

