Cancel
Showing results for 
Search instead for 
Did you mean: 

Need to Report a Bug

Genius
Genius

Hello,

 

I don't have our WebKey Account. Is there another way to report a bug.

 

Bug:

I have a Table where I set a real number : 9.8

 

I then have a Line User Attribute that is of type length. My model is set to feet, so the attribute is referring to feet.

 

I have a Reset Method that pulls the value (9.8) from the table and sets it to that User Attribute. When the Method runs, it assumes the real number is in meters and converts it to feet to set the User Attribute. So my 9.8 feet becomes 32.15 feet. To accomitate this I had to multiply the value by 0.3048 which works, but is unexpected.

3 REPLIES

Re: Need to Report a Bug

Phenom
Phenom

Re: Need to Report a Bug

Siemens Phenom Siemens Phenom
Siemens Phenom

If you want to store a length in the table, why did you use the data type real? If you change the data type to length, it will work as you expected.

You can read more about this topic by clicking on the link in simulator's post.

_________________________________________________________________
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.

Re: Need to Report a Bug

Genius
Genius

I didn't think about storing data as a length data type in a table. Makes sense now that you mention it. I'm still pretty new to Plant Sim.

 

Thanks for the tip.