Community & Support
Learn
Marketplace
Menu
Menu
Home
›
Discussions
›
Community Q&A
getting message bar text in HW 2020x was ".mainFrame.bottom.message_label cget -text" in 2019.
Peter Randle
User: "Peter Randle"
Peter Randle
Altair Community Member
Jun 24, 2021
Updated
Oct 5, 2021
by
Peter Randle
Hi All
I am trying to grab text from the message bar.
E.G.
".mainFrame.bottom.message_label cget -text" D
o
es not work in 2020x is there another way?
I am trying to get
to understand that the correct units have been used.
set ttname "SHELLSECTION"
set scal 1000.0
*createmark elements 1 "by config" tetra10
*createmark elements 2
*elementtestlength elements 1 20 2 0 4 0 " 3D Length >"
if {[catch {set mm [split [.mainFrame.bottom.message_label cget -text] { }] ]} {set mm [split [.mainFrame.bottom.leftfrm.label cget -text] { }]}
set mmm [lindex $mm 9]
set mmm [string range $mmm 0 end-1]
puts "max length = $mmm"
Find more posts tagged with
English
HyperMesh
All Replies
Sort by:
Sort by
Oldest
▾
1 - 1 of 1
↑
1
↑
Ben Buchanan
User: "Ben Buchanan"
Ben Buchanan
Altair Employee
Oct 5, 2021
Updated
Oct 5, 2021
by
Ben Buchanan
If you use hm_getelemcheckbounds 1 2 maxlength it will return the desired value as the second value.
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
If you use hm_getelemcheckbounds 1 2 maxlength it will return the desired value as the second value.