civilconnection icon indicating copy to clipboard operation
civilconnection copied to clipboard

Empty Revit family created after Mass.ByShapesCreaseStations

Open mtanyer opened this issue 2 years ago • 10 comments

Dear all,

I am trying to get my “BaselineRegion Assembly” as a Revit Adaptive Family via CivilConnection.

I can get the “Subassembly Names and Shapes”. I would like to use Mass.ByShapesCreaseStations for Revit family creation. However, the family created is empty.

Plase find the files at:

  • CorridorShapes.xml file: https://drive.google.com/file/d/1nPZ2mIVQ65ToNeKIxNDJfUnEAPVLTMHP/view?usp=sharing

  • CivilConnection_temp.log file: https://drive.google.com/file/d/1NaMxNdwJAGX4lzjjpKFHKYAwIy8yxHag/view?usp=sharing

  • Dynamo file: https://drive.google.com/file/d/1MMCL_xeoinq5uEirRKMeuUIhDDUD2tiu/view?usp=sharing

Any ideas on what the problem could be? Is Mass.ByShapesCreaseStations really working at CivilConnection 6.0.0?

I am using Revit 2024, Civil3D 2023 and CivilConnection 6.0.0.

Thanks,

mtanyer avatar Oct 29 '23 09:10 mtanyer

Can you share the dynamo graph file? the .dwg input file would also help

Lazarica-t avatar Nov 16 '23 13:11 Lazarica-t

Lazarica-t, Please find them at this link: https://drive.google.com/file/d/1ejh9eUsn9KRC2cQrxZ1l-E-WyZa7zL_O/view?usp=sharing Thanks,

mtanyer avatar Nov 16 '23 13:11 mtanyer

Hi, just some tips to make it run: Project file: test_2.zip

  1. Set the Geometry scaling to Medium image
  2. You only need the Start and End station image
  3. Try to set up your Project Base Point in the same shared coordinates as your .dwg image
  4. Adjust corridor if necessary image

Best regards,

Lazarica-t avatar Nov 16 '23 15:11 Lazarica-t

Dear Lazarica, Thank you for your detailed tips. You basically recommended 4 tips:

  • Setting the geometry scaling to medium: Done.
  • Start and End stations: Done. Should this be the start and end stations for the whole corridor or for a specific baseline region (I have 4 baseline regions)?
  • Setting up Project Base Point: This has been done via exporting "Shared Reference Point" from Civil 3D than importing to the XML file to Revit.
  • Corridor adjustments for start and end points of different assemblies: I have 4 sections in the corridor: Road-1 : 0-300 Tunnel : 300-1000 Road-2 : 1000-2400 Bridge : 2400-3200 Road-3 : 3200-3601

With these 4 tips fulfilled, I cannot receive the Revit family as you did. What I am doing wrong? Do I need to use "AppliedSubassemblyShape.Geometry" for family setup?

The Dynamo code, Revit file with Project Base Point and the Civil 3D files are attached here: https://drive.google.com/file/d/1RhUUkR-bwd3faZR8ZlG0n-XJ1_XO_Nuh/view?usp=sharing

There could be a scaling problem as well. The created scene is too small and not as expected as could be seen in the image.

I would appreciate for some extra tips.

Best regards,

mtanyer avatar Nov 18 '23 17:11 mtanyer

Hi, I think the script file might be bugged (or Dynamo for Revit 2024 itself.. not sure which) Even though it says geometry scaling is set to Medium.. in reality it is not. Plus changing the scaling doesn't do anything with the script file received. 2023-11-20_17-17-58 I saved back the file using Dynamo from Revit 2023 with the correct geometry scaling and it works. Civil_D219.zip 2023-11-20_17-28-59

Might also want to check the corridor in your last file, it was a bit broken for the tunnel region.

You can try remaking the script from scratch in Dynamo, maybe that will solve the Geometry scaling bug.

Lazarica-t avatar Nov 20 '23 15:11 Lazarica-t

Dear Lazarica,

Thank you.

As you have indicated the Revit_2024 + C3D_2023 + CC_v6.00 combo is not working. Nothing appears on the screen.

Revit_2023 + C3D_2023 + CC_v6.00 is working. But why do I have lines but no solids on Dynamo and Revit screen? Dyn Rvt

Do I need to improve the Dynamo code to have solid Revit object on screen? Am I missing something?

Is it because of the "code sets" that I may have implemented wrong at the C3D side?

Best regards,

mtanyer avatar Nov 21 '23 11:11 mtanyer

This scenario were you only get lines happens due to the geometry scaling being set to large. Normally, you should be seeing the clear boundary of the assembly (closed polygons) just like you see them in the Civil3D assemblies. The solids are generated based on these closed polygons. In your case it seems that the geometry scaling is still bugged.. have you tried with the dynamo graph from the previous reply Civil_D219.zip? I've tested it with Revit_2024+C3D_2023

Lazarica-t avatar Nov 21 '23 15:11 Lazarica-t

Hi, your problem is related to the assembly that you have created, you have an extra link in there that should not exist :D this is why you are not getting the correct shape in Revit.

[image: image.png] When creating and assembly in Civil you need to take into account that Revit can only generate a solid for the most basic shapes rectangle, polygons, circles..so you need to construct your assembly using these building blocks :D

[image: image.png]

KR,

On Sun, Feb 18, 2024 at 11:13 PM alitaheri93 @.***> wrote:

I'm having the same issue, and I'm using Revit_2023 + C3D_2023 + CC_v6.00 (geometry scaling >> medium). I only get solid for my corridor surface (crown), but not the other layers. All of the layers are being transferred to Revit as closed polygons, but are not solid elements, but not selectable (however when I hover over each layer, Revit detects that layer through the entire corridor). I built the cross sections using Civil 3D subassembly composer and assigned shapes to all the layers (base, subbase, etc.). Is it related to the fact that I created all layers in relation to top surface and now it's not recognized as closed polygon? Or should I make some changes in my dynamo/civil3D when I'm transferring multiple layers? Screenshot.2024-02-18.160946.png (view on web) https://github.com/Autodesk/civilconnection/assets/46839412/4c4ca084-0755-4837-95d1-505149cfdfc0 Screenshot.2024-02-18.161013.png (view on web) https://github.com/Autodesk/civilconnection/assets/46839412/7478f974-bd9f-4a13-b3b7-725022ca8693

— Reply to this email directly, view it on GitHub https://github.com/Autodesk/civilconnection/issues/66#issuecomment-1951446773, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALZOXV6SEBERH6PM65JAFKTYUJVJFAVCNFSM6AAAAAA6UW2EUWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRGQ2DMNZXGM . You are receiving this because you commented.Message ID: @.***>

--

Lăzărică Teșu, PhD | Structural Civil Engineer | @.***

ARCADIS Project Engineering | Str. Palat 1, Moldova Business Center, et. 3 | 700019 Iasi | Romania

M. + 40 749 88 21 42

www.arcadis.com https://www.arcadis.com/

Lazarica-t avatar Feb 20 '24 08:02 Lazarica-t

@Lazarica-t thanks for your response. I fixed the issue by removing the extra link in the subassembly composer. I'm facing another issue now. I have multiple baseline regions with different subassemblies and I'm trying to follow your guideline and run the code for each region separately to avoid the gaps between solids. However, I'm not getting the sequence of elements, but only one element at a time. So, when I go from region 1 to region 2, it only generates region 2 while replacing it in region 1 for some reason. On another note, is there a way to create separate elements based on station numbers using civilconnection package? For instance, instead of getting one element for region 1, I can get 10 elements based on my stationing.

allitaaheri avatar Feb 22 '24 06:02 allitaaheri

@alitaheri93 I'm not sure I fully understood what you are trying to do, but when you are dealing with regions that have different assemblies in the same corridor you will need to make some temporary changes, rebuild the corridor then run the script to get the correct shape (see picture bellow): 2024-03-02_15-56-51 Yes, you can specify and generate elements between your desired stations, the node allows this: 2024-03-02_16-40-13

Lazarica-t avatar Mar 02 '24 14:03 Lazarica-t