Stardraw Forums

Edit Attributes Tool

http://forums.stardraw.com/Topic4106.aspx

By mattatlegend - 6/28/2009 4:26:38 PM

Whenever i use the edit attributes tool in order to name cables, when I click on the reports tab none of my cable names are on the report....

What am I doing wrong?



Also- If I use the tool, and then double click on a line to change the name after I am through using the tool I can't change the name.

Ex. I number cables ML-01 through ML-10 and after completion I want ML-01 to be ML-01.1, I double click to edit the line and change to ML-01.1 and the software automatically renames it ML-00, and I can't change it no matter what I try.
By Rob Robinson - 6/29/2009 5:44:10 AM

Hi Matt,

The Report tab only reports on symbols (i.e. products) not objects, like Cables, Doglegs, Lines, Rectangles etc that can also contain Attriubutes.  It's something of a legacy from the days before Excel reporting.

To see the details of Cables/Doglegs use one of the Cable Schedule reports under Tools | Reports - these are specifically designed to deal with interconnections.

I suspect the problem you see when editing the cable name is down to formatting.  In short, you have formatted the Name as a Number and you're trying to enter a String, i.e. ML-01.1.  We can't store a String in a Number field, so it is being discarded.

The Number field, I suspect, is formatted as "ML-00" - this means that the value, e.g. "5" will display as "ML-" and then 2 digits (given by the "00").  In this regard Stardraw uses number formatting much as Excel does.  "2" formatted as "ML-00" will display as "ML-02".  Therefore if you just enter the number you want, e.g. "1.1", it should display as "ML-01.1"

There's one further catch, though.  If your format is "ML-00", it won't display anything after the decimal point.  For this you would want a format of "ML-00.#" - this format will force two digits before the decimal point and will only show the decimal point and the number after it if there is such a value.  If you always want to see the first decimal use "ML-00.0" which will display, for example, "ML-05.0" if you set the value "5" and "ML-05.1" if you set the value "5.1".

I hope this is helpful.