Placement of RevitObjects in Speckle model

Hello,

I am having an issue placing RevitObjects into my Speckle model. We are working with a pipe object and adjusting the BaseLine.start and baseLine.end in order to pick the place in which the pipe starts and ends. We are using Specklepy in order to adjust these and send it to and from the Speckle model. The issue we are having is that in Speckle the pipe is not in the right place. The position never changes no matter the value for start in end, but when we send it to Revit the position is correct. I was wondering where we should be looking to find the property that positions the object in Speckle since we are obviously not changing it correctly with our current code

1 Like

Hey @drewbev!

Thanks for the question. Could you share a link of the Speckle project with me? I have an idea of what might be going on - but need to look at the pipe properties first to confirm.

Cheers,
Björn

https://app.speckle.systems/projects/c90241afbd/models/8ec82e0b5e

Here is the link. Thank you very much for your time

Thanks for providing the link @drewbev.

I see the commit has two objects, is this correct?

For clarity, how are you receiving the pipeObject that you want to modify? And how are you modifying it (feel free to add a code block here too).

If the position in Revit is correct, but the displayed mesh in Speckle is “incorrect” this could be due to manipulating the baseLine.start and baseLine.end coordinates will leaving the displayValue unchanged (keeping the original mesh definition). Does the rendered mesh in the web app stay in the exact same position pre and post manipulation? If so, that’d be the first place to start.

I was hoping to see a “before” and “after” commit in the provided link, but this wasn’t quite clear (also based on my limited understanding of the workflow).

Maybe try clearing the displayValue property (temporarily), the viewer will then default to displaying the baseLine and you could overlay the before and after to confirm if this is the case?

Sorry for the long essay, just some initial thoughts.

1 Like