{"id":3472,"date":"2020-12-23T16:55:19","date_gmt":"2020-12-23T15:55:19","guid":{"rendered":"https:\/\/www.nextfem.it\/it\/?page_id=3472"},"modified":"2026-03-26T20:15:06","modified_gmt":"2026-03-26T19:15:06","slug":"custom-report","status":"publish","type":"page","link":"https:\/\/www.nextfem.it\/it\/custom-report\/","title":{"rendered":"Custom report"},"content":{"rendered":"<table style=\"width: 100%; border: medium; border-collapse: collapse; border-radius: 15px; background-color: #ddedec; height: 104px;\" border=\"medium\">\n<tbody>\n<tr style=\"height: 62px;\">\n<td style=\"width: 30%; border: medium; height: 104px;\" rowspan=\"2\"><img decoding=\"async\" class=\"aligncenter wp-image-5609\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/reportPlugin.png\" alt=\"\" width=\"50\" height=\"50\" \/><\/td>\n<td style=\"width: 70%; border: medium; height: 62px;\">\n<h2>Custom Report<\/h2>\n<\/td>\n<\/tr>\n<tr style=\"height: 42px;\">\n<td style=\"width: 70%; border: medium; height: 42px;\">\n<h5>Compile any Word file with model info and results<\/h5>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Custom Report<\/strong> is a plugin for NextFEM Designer able to insert in a DocX document file (typically made in <em>Microsoft Word(R)<\/em>) images, text and tables about model and results.<br \/>\nBy now, General Design module license is required to use this plugin.<\/p>\n<p>Custom Report automatically seeks in the folder where model is saved if a DocX template is available. File must be called \u201creportTemplate.docx\u201d. If there\u2019s such file, it will be loaded automatically.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-4380\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/newInterf.png\" alt=\"\" width=\"838\" height=\"679\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/newInterf.png 838w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/newInterf-300x243.png 300w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/newInterf-768x622.png 768w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/newInterf-600x486.png 600w\" sizes=\"(max-width: 838px) 100vw, 838px\" \/><\/p>\n<p>Let\u2019s see which commands are available inside this plugin:<\/p>\n<ol>\n<li><strong>tab 1 <\/strong>contains commands to load your .docx template and for writing report;<\/li>\n<li><strong>tab 2<\/strong> allows to see graphically how viewport is screen-shot inside the report. Please position your model in the best way possible. To insert a screenshot of the model as it, use keyword #image.asis# in the Word document;<\/li>\n<li><strong>tab 3<\/strong> contains options: you can specify the font for tables and its size. Keywords to be included in the docx template are listed. Read the following for their explanation.<\/li>\n<\/ol>\n<p>The docx template is a simple document containing <strong>keywords<\/strong>, that will be replaced with the requested contents. The available keywords are:<\/p>\n<p><strong>Comments<\/strong> can be inserted by embracing them between <em>###<\/em>.<\/p>\n<table style=\"width: 100%;\" width=\"625\">\n<tbody>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">Keyword<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Description<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##text.name##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Name of the current model file<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##text.nodesnumber##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Number of nodes<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##text.elementsnumber##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Number of elements<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##text.length##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Length unit<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##text.force##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Force unit<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##text.beamdiagram(ID,loadcase,time,type,station)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Beam diagram value for current element ID, loadcase, time, type is 1=N, 2=Vy, 3=Vz, 4=Mt, 5=My, 6=Mz; station can be 1=I, 2, 3, 4 or 5=J<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##text.nodalreaction(nodeID,loadcase,time,type)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Nodal reactions for the selected nodeID, loadcase, time, type is 1=X, 2=Y, 3=Z, 4=RX, 5=RY, 6=RZ<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##text.maxverticalnodalreaction##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Maximum nodal reaction in Z direction<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##text.minverticalnodalreaction##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Minimum nodal reaction in Z direction<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##text.elementconnectivity(elemID)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Element connectivity for elemID<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##text.functiondata(functionID)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">User data for functionID<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\"><\/td>\n<td style=\"width: 62.2705%;\" width=\"319\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##table.nodes##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Node tables with coordinates<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##table.elements##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Element tables with connectivity<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##table.checking(loadcase,time)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Checking results table for current loadcase and time<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##table.materials##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Table of materials with main properties<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##table.sections##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Table of sections with main properties<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##table.combinations##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Table of combinations set in the model<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##table.modesandpartmasses##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Table of modes and participating masses ratios<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##table.generic(key,fontSize)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Generic table given by a list of arrays of strings. To be used from API only. See compileDocX API<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##table.beamforces##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Table of beam forces in load cases and combinations<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\"><\/td>\n<td style=\"width: 62.2705%;\" width=\"319\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.asis##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Image as displayed in viewport<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.extruded##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Image of extruded model<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.nodesnumber##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Image of the model with nodes numbers<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.elementsnumber##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Image of the model with elements numbers<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.showloads(loadcase)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Image of applied loads for selected loadcase<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.beamdiagram(loadcase,time,type)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Image of beam diagrams for the current loadcase, time and type ( 1=N, 2=Vy, 3=Vz, 4=Mt, 5=My, 6=Mz)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.areaforce(loadcase,time,type)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Image of area forces for the current loadcase, time and type ( 1=fxx, 2=fyy, 3=fxy, 4=mxx, 5=myy, 6=mxy, 7=qxz, 8=qyz, 9=mxWAbot, 10=myWAbot, 11=mxWAtop, 12=myWAtop, 13=mxWA, 14=myWA)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.soilpressure(loadcase,time)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Image of soil pressure for selected loadcase and time<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.path(imagePath,sizeRatio)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Image from external path. SizeRatio is the percentage of the page width<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.elementsection(elemID,station,sizeRatio)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Insert image of the element section. SizeRatio is the percentage of the page width<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.functionplot(functionID,sizeRatio)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Insert plot of the selected function. SizeRatio is the percentage of the page width<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.functionplots(sizeRatio)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Insert plots of all functions in the model. SizeRatio is the percentage of the page width<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.base64(string,sizeRatio)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Image from PNG Base64 string. SizeRatio is the percentage of the page width<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.elementfiresection(elemID,station,sizeRatio)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Insert image of the element section at the end of thermal analysis. SizeRatio is the percentage of the page width<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.firesections(sizeRatio)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Insert images of all element sections at the end of thermal analysis. SizeRatio is the percentage of the page width<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.section(sectID,sizeRatio)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Insert image of the specified section. SizeRatio is the percentage of the page width<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.sectionNAxis(sectID,calcType,domainType,N,Myy,Mzz,<\/p>\n<p>Nserv,Myyserv,Mzzserv,sizeRatio)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Insert image of the specified section with its section axis, consistent with the forces provided. SizeRatio is the percentage of the page width<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.sectionResDomain(sectID,calcType,domainType,<\/p>\n<p>N,Myy,Mzz,Nserv,Myyserv,Mzzserv,sizeRatio)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Insert image of the domain of the specified section, consistent with the forces provided. SizeRatio is the percentage of the page width<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.sectionMcurvature(sectID,N,Myy,Mzz,Nserv,<\/p>\n<p>Myyserv,Mzzserv,sizeRatio)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Insert image of the moment-curvature diagram of the specified section, consistent with the forces provided. SizeRatio is the percentage of the page width<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.userview(name,sizeRatio)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Insert named image from Views control.SizeRatio is the percentage of the page width<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##image.alluserviews(sizeRatio)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Insert all images from Views control. SizeRatio is the percentage of the page width<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\"><\/td>\n<td style=\"width: 62.2705%;\" width=\"319\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##equation(size,asciiFormula)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Insert equation in Ascii math format. First parameter is the font size.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\"><\/td>\n<td style=\"width: 62.2705%;\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##fromfile(path)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Copy text only from external DocX file specified in path (*)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##fromfilet(path)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Copy tables only from external DocX file specified in path (*)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##fromfileall(path)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Copy all items from external DocX file specified in path (*). Incomplete support for this function, usage is strongly discouraged.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.6461%;\" width=\"306\">##check.details(checkName)##<\/td>\n<td style=\"width: 62.2705%;\" width=\"319\">Get verification data from an already checked element. CheckName is the name of the checking set.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Custom Report Compile any Word file with model info and results Custom Report is a plugin for NextFEM Designer able to insert in a DocX document file (typically made in &#8230;<\/p>\n","protected":false},"author":136,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-3472","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/pages\/3472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/users\/136"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/comments?post=3472"}],"version-history":[{"count":3,"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/pages\/3472\/revisions"}],"predecessor-version":[{"id":6462,"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/pages\/3472\/revisions\/6462"}],"wp:attachment":[{"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/media?parent=3472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}