RSolo

GE Cimplicity Script Text Object

2 posts in this topic

I have attached a snippet of some of my code. Currently, i have a script that takes a Cimplicity point, Fuel Gas in MSCFH, converts it into SCFH and outputs it into a message box once the button is pushed. It works fine, however, instead of having it output into a message box, I want it to write to a Text Object. How would I take the converted variable within the script and write that to a text object?

 

Dim dblFGUnit1 as Double
Dim strFGUnit1 as String

dblFGUnit1 = PointGet("B1_U1_FG_Total")*1000
strFGUnit1 = Format(dblFGUnit1,"##,###,###")

FGmsg = "Unit 1:  " & strFGUnit1 & "  SCFH"
Msgbox FGmsg,65,"Fuel Gas Totalizer in SCFH"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now