It would not be a bad idea to agree on having a ceratin list of general E/W/N messages which would be then used among all the templates. The main purpose would be to avoid having several message for one issue.. As already discussed in the xml file would be the main set of E/W/N and then also some additional sets for example per check.. The most important would be to gether the general messages among the templates to have something to start with.. What do you think?
Jirka
EWN - Error, Warning, Note
-
- Site Admin
- Posts: 181
- Joined: 11 Jul 2014, 13:55 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
EWN - Error, Warning, Note
- Attachments
-
- EWN_Example.xml
- (957 Bytes) Downloaded 381 times
-
- EWN.cls
- (24.04 KiB) Downloaded 376 times
-
- EWN_Editor.jpg (76.72 KiB) Viewed 7159 times
-
- EWN_Header_editor.jpg (118.26 KiB) Viewed 7159 times
Ing. Petr Slepicka
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
-
- Posts: 1
- Joined: 22 Oct 2014, 07:18 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
-
- Site Admin
- Posts: 181
- Joined: 11 Jul 2014, 13:55 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
Re: EWN - Error, Warning, Note
EWN Codes MUST start with letter "E" (Errors), "W" (Warnings) or "N" (Notes).
The rest of the code is arbitrary.
I propose to share common EWN file on SVN.
I have prepared file urlhttps://svn.praha.scia.cz/rep_esa_61/contractors/OpenChecks/DesignForms%20P/_PublicDocuments/EWN/EWN_SCIA.xml/url
Each SDF developer can create his/her own messages to the local copy of that file. Than merge changes back to SVN.
To avoid EWN Code collisions, codes should be composed like this: i<E/W/N>_<DeveloperShortCut>_<Number>/i
uExamples:/u
E_VAL_01, W_DLO_05, N_POR_33.
The rest of the code is arbitrary.
I propose to share common EWN file on SVN.
I have prepared file urlhttps://svn.praha.scia.cz/rep_esa_61/contractors/OpenChecks/DesignForms%20P/_PublicDocuments/EWN/EWN_SCIA.xml/url
Each SDF developer can create his/her own messages to the local copy of that file. Than merge changes back to SVN.
To avoid EWN Code collisions, codes should be composed like this: i<E/W/N>_<DeveloperShortCut>_<Number>/i
uExamples:/u
E_VAL_01, W_DLO_05, N_POR_33.
Ing. Petr Slepicka
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
-
- Site Admin
- Posts: 181
- Joined: 11 Jul 2014, 13:55 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
Re: EWN - Error, Warning, Note
- Attachments
-
- Clipboard01.jpg (29.2 KiB) Viewed 7119 times
Ing. Petr Slepicka
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
-
- Site Admin
- Posts: 181
- Joined: 11 Jul 2014, 13:55 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
Re: EWN - Error, Warning, Note
Ing. Petr Slepicka
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
-
- Site Admin
- Posts: 181
- Joined: 11 Jul 2014, 13:55 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
Re: EWN - Error, Warning, Note
size=150Inline strings/size
Version: 13.400.27+
EWN messages can now contain "place holders". These place holders are substituted with proper content at runtime.
Replacing content is defined by additional parameter of EWN.TraceEWN / EWN.TraceRectEWN command.
buExample of EWN messages with place holders:/u/b
W1 | Length of {0} edge is insufficient. | Increase length of {0} edge.
buExample of command with additional parameter:/u/b
EWN.TraceRectEWN("W1", 300, "S_Upper");
iSee attached example for more details.
Don't forget upload EWN_Example.xml to PublicDocuments\DesignForms_X.Y\EWN./i
Version: 13.400.27+
EWN messages can now contain "place holders". These place holders are substituted with proper content at runtime.
Replacing content is defined by additional parameter of EWN.TraceEWN / EWN.TraceRectEWN command.
buExample of EWN messages with place holders:/u/b
W1 | Length of {0} edge is insufficient. | Increase length of {0} edge.
buExample of command with additional parameter:/u/b
EWN.TraceRectEWN("W1", 300, "S_Upper");
iSee attached example for more details.
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
- Attachments
-
- EWN_Example.xml
- (1.18 KiB) Downloaded 315 times
-
- EWN with param.cls
- (27.16 KiB) Downloaded 306 times
Ing. Petr Slepicka
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
Return to “Design forms features”
Who is online
Users browsing this forum: No registered users and 9 guests