John Peterson

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • John Peterson
    Participant

    Good morning Peter! May I impose upon you again for an explanation? I’m now using the DIRECTION_SEGMENT function because I can’t use a curve in a tube path. I have the start, end, and included angle of the arc segment as shown in the diagram. I provided a tolerance. I used vardim1 to see how many items were in the array. The result was 6. I followed the instructions to find the various x,y coordinates. The resulting points are nowhere near to points on that curve, or the curve inverted. They don’t have any reference to the curve whatsoever. What i did notice as the distance from the origin to point one and the same to point two was exactly 1 meter. The distance to the third point was not. Can you offer a bit of advice please?

    Strike that. I found the problem. The code is wrong on the website. It lists DIRECTION_SEGMENT as the function. The name sounded funny to me so i refereed to the index and there was one that made a lot more sense called SEGMENT_ARC. That worked perfectly. Can you please alert someone as to the error and also please tell them to make the pictures larger and more legible. They are almost impossible to read.

    Many thanks, JP

    John Peterson
    Participant

    Thank you Peter!! That is exactly it. Thanks for taking the time to set me straight.

    Many thanks, JP

    Many thanks, JP

    John Peterson
    Participant

    I did make my vector exactly 1 meter from the reference point. It obviously does not work, and if the input needs to be something else that involves extra math, that’s just plain stupid.

    Many thanks, JP

    in reply to: Use Properties from Property Manager #2899
    John Peterson
    Participant

    Thank you. That makes sense to some extent. If you consider that currently you can have a schedule that has a connection to an objects parameters and has 2-way communication. Changes to the object effect the parameters, and object display. These values are then passed to the schedule and vice versa. The property is just a new player in the two way communication world. I just need to get a label of the property value onto the drawing next to the object. This label should be able to be updated in the object or the schedule and be updated on the drawing output. So all I was trying to do was to read the property value, and place it on the drawing with the text2 command. Seems like a simple request. Now I have to read the property value and then transfer it and then figure out how to place it. Still seems needlessly complicated, but I defer to the wisdom of the programmers who probably tried to make it work more directly and found the problem with that.

    Many thanks, JP

    in reply to: Use Properties from Property Manager #2893
    John Peterson
    Participant

    Thanks for the posts with help. I am basically trying to make a label placed with the object. The label is an identifier for the schedule. For example, a recessed light fixture with the label R1, R2 etcetera. Using a property allows the use of Excel round trip and the consultant can change the fixture identifier as required, and I would hope that could then update the label on the drawing. I was trying to read the value and then pace it with the text command in the 2d Script. I’ll read through your posts closer to use your suggestions. It doesn’t matter, but I don’t understand why Graphisoft had to place this restriction in the code. I’m sure it causes problems someplace.

    Many thanks, JP

Viewing 5 posts - 1 through 5 (of 5 total)