Initializing help system before first use

AppInterface.get_attach_rules

AppInterface.get_attach_rules


Purpose
Retrieves the the 'rules' used to validate attachments and attachment meta-data.
Synopsis
get_attach_rules(self) -> xpressinsight.AttachmentRules
Return value
The attachment rules.
Example
Demonstration of getting the example rules
>>> rules = insight.get_attach_rules()		
Further information
1. Used to retrieve the rules that are used to validate new attachments - for example, maximum attachment size.
2. This will only be necessary if you want to validate new attachments within the model, before they trigger Insight attachment errors for violating any of these rules.