Go to Edit Parts in Spec editor, fill the "Custom" in component designation and the dimension properties are enabled in your Plant 3D project for this spec.
If my reply was helpful, please give a "Kudo" or click the "Accept as Solution" button below (or both).