Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
MİMucip İlbuğa23/12/2024
Hi,
Normally I can Add property to part with below code:
Dim cpm As CustomPropertyManager cpm = Form1.swModelTakas.Extension.CustomPropertyManager("") cpm.Delete("AĞIRLIK") Dim formul As String = """SW-Mass@" & TBDosyaAd.Text + """/1000" cpm.Add2("AĞIRLIK", swCustomInfoType_e.swCustomInfoDouble, formul)
But I can not add formula type with above code? Because there isn't FORMULA option below picture