paulvector Posted May 26, 2020 Share Posted May 26, 2020 In my script, i return the area of a window in wall via GetRFlield. It returns a string with area units. Trying to convert it in a REAL with ValidNumStr gets no success. converting a length e.g. perimeter - no problem. Any idea. Code snippet: RFld := 0; if ValidNumStr(GetRField(symH, PIOName, Fld), value) then RFld := value; Quote Link to comment
JBenghiat Posted May 26, 2020 Share Posted May 26, 2020 Try https://developer.vectorworks.net/index.php/VS:Str2Area Quote Link to comment
paulvector Posted May 27, 2020 Author Share Posted May 27, 2020 Thanks. This did the job. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.