Question
Want to automate the pulling of features (PRO_MP_MASS, PRO_MP_VOLUME, PRO_MP_DENSITY, PRO_MP_AREA)
Is there a way to read the raw text of a prt file and extract the features PRO_MP_MASS, PRO_MP_VOLUME, PRO_MP_DENSITY, PRO_MP_AREA in an automated way. Looks like the prt files contains these but I can't figure out how it is encoded. Would like to pull this information with Excel VBA or Python for all prt files in a folder for instance. Thanks!
How the text looks opened in Excel:
ãPRO_MP_MASS=õë~Õ(ã2÷(»™½’d¥÷ã2(»™½’d¥÷öáãöööñ÷ãöööò÷
ãPRO_MP_VOLUME>õë~Õ(ã2-Ë+žL•,÷ã2-Ë+žL•,÷öáãöö@öñ÷ãöö@öò÷
ãPRO_MP_DENSITY?õë~Õ(ã2#à@¿ã°>!÷ã2#à@¿ã°>!÷ööáãööFöñ÷ãööFöò÷
ãPRO_MP_AREA@õë~Õ(ã2-ÂiÐ9ŽÏ÷ã2-ÂiÐ9ŽÏ÷öáãöö;öñ÷ãöö;öò÷
These are the actual values
PRO_MP_MASS=0.107804
PRO_MP_VOLUME=13910.145456
PRO_MP_DENSITY=0.000008
PRO_MP_AREA=9260.826667

