1

外側のパネルを作成するために使用している 4 つの配置ポイントがあります。ただし、外側パネルの内側に内側パネルを作成するために使用したい基準点があります。外側のパネルの両側からオフセット値を取得できます。ここで、Revit API/ジオメトリを使用して内部パネルの座標を計算したいと考えています。

どんな助けでも大歓迎です。

4

1 に答える 1

0

If you're asking to calculate new coordinates from coordinates and a specific offset, you're asking more of a Geometry question. http://www.purplemath.com has tons of great information about doing those calculations.

If it's always a set (x, y) offset you simply add, or subtract, the x-offset to the coordinate.x, and same for the y value. If it's anything other than 90 degrees, though, you'll need to start looking at the Y-Intercept Form and all that Geometry/Trigonometry math.

于 2016-09-28T18:53:05.020 に答える