Hi @Darkforce_the_ilogic_guy. As far as code that would automatically check the value of the text box within your drawing, that would require knowing exactly how to find that specific TextBox object within the DrawingSketch of the TitleBlockDefinition of your current TitleBlock, which can be difficult to do, especially for someone remote, without your drawing file to test on. As for updating the model's Mass from the drawing...I think I may be able to help with that part. Below is a fairly simple iLogic rule that basically just visibly opens the model document, then updates it, then executes a command that causes its Mass Properties to be updated. Then it saves and visibly closes that model document again. Then it updates the drawing. Hopefully this will do the task for you.
Dim oDDoc As DrawingDocument = ThisDrawing.Document
Dim oModelDoc As Document = ThisDrawing.ModelDocument
oModelDoc = ThisApplication.Documents.Open(oModelDoc.FullDocumentName, True)
Dim oCD As ControlDefinition = ThisApplication.CommandManager.ControlDefinitions.Item("AppUpdateMassPropertiesCmd")
oModelDoc.Update2(True)
oCD.Execute2(True)
oModelDoc.Save2(True)
oModelDoc.Close(True)
oDDoc.Update2(True)
If this solved your problem, or answered your question, please click ACCEPT SOLUTION .
Or, if this helped you, please click (LIKE or KUDOS) 👍.
Wesley Crihfield

(Not an Autodesk Employee)