Jump to content
Developer Wiki and Function Reference Links ×

ValidNumStr not working for area dim


Recommended Posts

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;

 

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...