- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I'm still pretty new at programming and the Revit API so I might have overlooked something, but I can't wrap my head around the following situation.
I am trying to create a few pipes and fittings along a line by placing points on that line and use those for creating my pipes.
As you can see in the screenshot I've created an XYZ point2 by a certain offset along the guideline. After that I want to create point3 which is just point2 but with an offset for the Z value. I've color coded the different values I get when I highlight them in Visual Studio and for some reason the X value for point2 has changed between line 197 and 199 for no apparent reason. Does anyone have a clue if I'm missing something here?
I have written the same code in Python for Dynamo and it works in that context but I can't understand why it would be different when using it for plugin using C#
-Taco
Solved! Go to Solution.