{"id":2188,"date":"2024-05-17T22:26:34","date_gmt":"2024-05-18T05:26:34","guid":{"rendered":"https:\/\/gantovnik.com\/bio-tips\/?p=2188"},"modified":"2024-05-17T22:26:34","modified_gmt":"2024-05-18T05:26:34","slug":"426-how-to-change-font-size-in-hypermesh-tcl-console","status":"publish","type":"post","link":"https:\/\/gantovnik.com\/bio-tips\/2024\/05\/426-how-to-change-font-size-in-hypermesh-tcl-console\/","title":{"rendered":"#426 How to change font size in HyperMesh tcl console"},"content":{"rendered":"<p>Font before:<br \/>\n<a href=\"https:\/\/gantovnik.com\/bio-tips\/2024\/05\/426-how-to-change-font-size-in-hypermesh-tcl-console\/ex426a\/\" rel=\"attachment wp-att-2189\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/05\/ex426a.jpg?resize=391%2C144&#038;ssl=1\" alt=\"\" width=\"391\" height=\"144\" class=\"alignnone size-full wp-image-2189\" srcset=\"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/05\/ex426a.jpg?w=391&amp;ssl=1 391w, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/05\/ex426a.jpg?resize=300%2C110&amp;ssl=1 300w, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/05\/ex426a.jpg?resize=150%2C55&amp;ssl=1 150w\" sizes=\"auto, (max-width: 391px) 100vw, 391px\" \/><\/a><\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\ntkcon font Courrier 24\r\n<\/pre>\n<p>Font after:<br \/>\n<a href=\"https:\/\/gantovnik.com\/bio-tips\/2024\/05\/426-how-to-change-font-size-in-hypermesh-tcl-console\/ex426b\/\" rel=\"attachment wp-att-2190\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/05\/ex426b.jpg?resize=623%2C190&#038;ssl=1\" alt=\"\" width=\"623\" height=\"190\" class=\"alignnone size-full wp-image-2190\" srcset=\"https:\/\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/05\/ex426b.jpg 623w, https:\/\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/05\/ex426b-480x146.jpg 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 623px, 100vw\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Font before: tkcon font Courrier 24 Font after:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_lmt_disableupdate":"yes","_lmt_disable":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[24,27],"tags":[23,43,104],"class_list":["post-2188","post","type-post","status-publish","format-standard","hentry","category-hypermesh","category-tcl","tag-hypermesh","tag-tcl","tag-tkcon"],"modified_by":"gantovnik","jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8bH0k-zi","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":10734,"url":"https:\/\/gantovnik.com\/bio-tips\/2026\/04\/get-current-hypermesh-model-name-using-tcl\/","url_meta":{"origin":2188,"position":0},"title":"#468 How to Get the Name of the Current Model Opened in HyperMesh Using Tcl","author":"gantovnik","date":"2026-04-30","format":false,"excerpt":"When working with Tcl scripts in HyperMesh, it is often useful to get the name of the currently opened model file. For example, you may want to automatically create output files, reports, or logs using the same name as the active HyperMesh model. HyperMesh provides the command hm_info currentfile, which\u2026","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":765,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/11\/129-geometric-centroid-for-selected-entities-using-tcl-in-hypermesh\/","url_meta":{"origin":2188,"position":1},"title":"#129 Geometric centroid for selected entities using tcl in HyperMesh","author":"gantovnik","date":"2020-11-02","format":false,"excerpt":"#129 Geometric centroid for selected entities using tcl in HyperMesh To get the centroid of all surfaces: [code language=\"python\"] *createmark surfs 1 all hm_getcentroid surfs 1 [\/code]","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":775,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/11\/132-delete-all-elements-using-tcl-in-hypermesh\/","url_meta":{"origin":2188,"position":2},"title":"#132 Delete all elements using tcl in HyperMesh","author":"gantovnik","date":"2020-11-12","format":false,"excerpt":"#132 Delete all elements using tcl in HyperMesh To delete all elements: [code language=\"python\"] *createmark elements 1 \"all\" *deletemark elements 1 [\/code] To delete elements 50 51 52: [code language=\"python\"] *createmark elems 1 \"50 51 52\" *deletemark elems 1 [\/code]","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":763,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/11\/128-moment-of-inertia-values-for-the-selected-entities-using-tcl-in-hypermesh\/","url_meta":{"origin":2188,"position":3},"title":"#128 Moment-of-inertia values for the selected entities using tcl in HyperMesh","author":"gantovnik","date":"2020-11-02","format":false,"excerpt":"#128 Moment-of-inertia values for the selected entities using tcl in HyperMesh To get the MOI for components 1-5: [code language=\"python\"] *createmark comps 1 1-5 puts [hm_getmoi comps 1] [\/code] [code language=\"python\"] *createmark elems 1 displayed puts [hm_getmoi elems 1 2 $origin_node_id 2 $local_system_id 0 0] [\/code]","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":773,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/11\/131-use-a-panel-to-create-an-ordered-list-of-entities-for-use-in-a-subsequent-command-in-tcl-in-hypermesh\/","url_meta":{"origin":2188,"position":4},"title":"#131 Use a panel to create an ordered list of entities for use in a subsequent command in tcl in HyperMesh","author":"gantovnik","date":"2020-11-06","format":false,"excerpt":"#131 Use a panel to create an ordered list of entities for use in a subsequent command in tcl in HyperMesh To create a line from a user specified list of nodes: [code language=\"python\"] *createlistpanel nodes 1 \"Select nodes for the line:\" set node_list [ hm_getlist nodes 1 ]; if\u2026","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":947,"url":"https:\/\/gantovnik.com\/bio-tips\/2021\/09\/171-delete-the-difference-between-the-elements-on-marks-1-and-2-in-hypermesh-tcl\/","url_meta":{"origin":2188,"position":5},"title":"#171 Delete the difference between the elements on marks 1 and 2 in HyperMesh tcl","author":"gantovnik","date":"2021-09-01","format":false,"excerpt":"#171 Delete the difference between the elements on marks 1 and 2 in HyperMesh tcl. *markdifference determines the difference between two marks and stores the results in the first mark. *createmark elems 1 1 2 3 4 *createmark elems 2 4 5 6 7 *markdifference elems 1 elems 2 *deletemark\u2026","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/2188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/comments?post=2188"}],"version-history":[{"count":2,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/2188\/revisions"}],"predecessor-version":[{"id":2192,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/2188\/revisions\/2192"}],"wp:attachment":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/media?parent=2188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/categories?post=2188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/tags?post=2188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}