albandechasteigner / GeniusLociForDynamo

Genius Loci is a package of 350+ custom nodes for Dynamo in Revit.
MIT License
44 stars 10 forks source link

Dimension ByReferences #36

Closed Kershoek closed 1 month ago

Kershoek commented 2 months ago

Hello,

im running a script using the Dimension ByReferences block, but it works fine in 2022...but not in 2023 for some reason. I did install the DynamoIronPython2.7 package as described. result i am getting is the correct amount of output/results from the block, but they come out as Null...and not as actual dimensions. Any idea what this could be? dynamo dimension error

albandechasteigner commented 2 months ago

Hi @Kershoek,

Is it indeed version 2.5 of the DynamoIronPython2.7 package that is installed in Revit 2023? image

Other versions of the package are for Dynamo 3.x

Best regards,

Kershoek commented 2 months ago

yes it is 2.5 image

albandechasteigner commented 2 months ago

Can you share your graph with a stripped Revit file so I can try myself ?

Kershoek commented 2 months ago

i could... but i am not really able to minimize the model below the allowed 25MB here.

albandechasteigner commented 2 months ago

You can use a file transfer service (wetransfer, fromsmash...) to share your model.

Kershoek commented 2 months ago

i have send a wetransfer to your email geniusloci.bim

albandechasteigner commented 2 months ago

I can't get your graph that has hundreds of nodes and a user interface to work. In any case, with a very reduced test version, the Dimension ByReferences node works as expected in Revit 2023. Test Revit 2023 Test dimension.zip

Kershoek commented 2 months ago

It doesnt work on my PC. I guess there is still something wrong with the packages that i have installed?? i am not sure if i should install the newer version of the Geniusloci package as Dynamo suggests? image

albandechasteigner commented 2 months ago

Hi,

You can install the latest version of the package. It is working with Revit 2022, 2023 and 2024.

Kershoek commented 2 months ago

it looks like i just needed to update the packages..... i am so sorry to have wasted your time on this... i thought the packages where updated, but they where not. But that does raise a question on something i never understood... We have our packages installed on our sentral server. Everybody assigns that folder to the packages path in their revit. Every Revit version with their own packages folder with the right versions to prevent problems like we had now. BUT... somehow... even if they have assigned the right folder... i still need to install the right package on every machine in order for it to work. Can you explain how this works? its probably something simple, but i have never gotten my head arround on how it works with packages and how and where to install them properly. i guess we have been lucky so far that it just worked.

albandechasteigner commented 2 months ago

Hosting all packages on a central server is not recommended by Autodesk. This can cause delays and accessibility conflicts if several people work on Dyanmo at the same time. It is better to favor a mechanism for copying packages hosted on your server to the hard drive of the local computers or to use a cloud solution like https://orkestra.online/

Kershoek commented 2 months ago

we are using Sharepoint so everything is synchronised to the local machines anyway.... but i will look into orkestra and see if this improves our workflow. Thank you very much for your time and advice. Regards, Erik.