Hi,
I`ve added the structure names on both ends of pipe with Property Set Data in accordance with this workflow:
but after selecting pipe I can`t see any structure name.
Could anyone have a look at Property Set called PipeData in the attached drawing and try to find the issue ?
Solved! Go to Solution.
Solved by drazen.galic. Go to Solution.
Solved by kubastan89. Go to Solution.
Hi I see an error in the Property Set Definition. Please see below:
Michael M. Carlson
Senior Civil Designer
CADD Manager
AutoCAD Civil 3D Professional
AutoCAD Professional
I copied and pasted formula from the link I gave below:
RESULT="--" On Error Resume Next Set oApp=GetObject(, "AutoCAD.Application") Set oCivilApp=oApp.GetInterfaceObject("AeccXUiPipe.AeccPipeApplication.11") Set obj=oCivilApp.ActiveDocument.HandleToObject("[Handle]") RESULT=obj.StartStructure.Name
and for EndStructure
RESULT="--" On Error Resume Next Set oApp=GetObject(, "AutoCAD.Application") Set oCivilApp=oApp.GetInterfaceObject("AeccXUiPipe.AeccPipeApplication.11") Set obj=oCivilApp.ActiveDocument.HandleToObject("[Handle]") RESULT=obj.EndStructure.Name
Could you tell me where is an error in the formula ?
The posted dwg file opens in notepad with a file version code of AC1027. That's the code for a version 2013 format. So, the file is pre-2017.
AeccXUiPipe.AeccPipeApplication.11 <-- The 11 is for version 2017. 2016 (acad file version 2013) uses 10.5 This could be the source of the error.
Hi-
I am running 2018, so i had to tweak API slightly for my version, but was able to get the Start Structure Property Set to work. I can't get it to recognize end structure though.
I am looking into this more.
Michael M. Carlson
Senior Civil Designer
CADD Manager
AutoCAD Civil 3D Professional
AutoCAD Professional
I`ve created a new pipe network and added property set data definition to pipes.
I`ve changed AeccXUiPipe.AeccPipeApplication.11 to AeccXUiPipe.AeccPipeApplication.10.5 and I still don`t get structure`s names 😕
If you will not find OOTB solution and would like to consider 3rd party solution take a look to my Linkedin article, solution described and video attached
Drazen
According to this posts it should work:
http://autodesk.typepad.com/bimtoolbox/2016/02/autodesk-2016-aec-showreel-call-for-submissions.html
I`ve tried to do the same in C3D 2018 but without any result.
I still hope that someone will find the issue ...
Hi Kubastan,
I managed to have both start and end structure in property data. Look at the picture. It is Civil 2018. OOTB functionality with that approach what you tried to do.
In my property set data I did what was proposed initially:
And in definition for End_S for example I have:
Do you have like that?
Drazen
Hi @kubastan89
Maybe it can help you if I attach my drawing. You can open it and copy/paste my code from PSD definition.
Regards,
Drazen
My mistake... I haven`t added .0 after 12 in ("AeccXUiLand.AeccApplication.12.0") expression.
I added Property Sets for pipes.
Then I exported PipeNetwork to IFC and opended IFC file in Navisworks.
What I have noticed is that IFC doesn`t keep PipeData order that I set up in C3D.
and that Structure and Pipe geometry is distorted.
Do you know any solutions for above problems ?
Hi @kubastan89
We didn't have any problem of distortion in Navisworks until now. Although, in some other BIM viewers we had problems when work with large coordinates.
But, when you say distortion, what do you mean? When look your picture, seems to me that structure looks good.
Can you explain a bit?
About data order I will check.
If you can, send me few pipes and structures in DWG, that I can check.
Regards,
Drazen
When I use NWCOUT command structure and pipes looks much better than after exporting to IFC:
You can find my example that I work on in the attachment.
The same IFC exported from Civil, looks the same in different programs which read IFC. So problem is not on Navisworks side, but think on Civil side.
I tried in Navisworks, through options and file readers set higher faceted, but the result is the same.
If you through command NWCOPT in Civil 3D define higher faceting factor (put 10), even I have finer resolution in Navisworks, than what you attached. Look my picture:
gfff
But such a command for IFC export does not exist (or I don't know for that). So my conclusion is that IFC export in Civil 3D is not fully supported like i.e. NWC export.
Regards,
Drazen
I did additional testing and definitely I can confirm my previous statement. IFC export from Civil, seems doesn't have possibility to make finer resolution. At least, I don't know how to do it. So, I took your system, convert it to another program, made IFC export and final result is on below picture:
Think that it is much finer than what we can do with IFC export from Civil. Question is, do we need such precision (model would be bigger and less effective). But, anyway, it is possible to do it. Function for IFC export in that another program has option to define how fine model in IFC should be, as shown on below picture:
Regards,
Drazen
Hi @kubastan89
Think that I found the solution for better display of pipe network when exporting IFC (to Navisworks).
There is variable FACETDEV. By default, think that its value is 10. When Facetdev is defined as small number, i.e. 0.0001 then imported IFC looks much finer.
Inspect the next pictures:
Facetdev=10, file size = 71 Kb
Facetdev = 0.0001, file size = 251 kB
So, file is 3-4 times bigger. The question of purpose of model (IFC and other files) should define value of Facetdev and consequently size of model. Try different values and decide which Facetdev value fit the best to your purposes.
Regards,
Drazen
If you think that it is solution to your post, please press Accept as Solution.
It`s great to hear that It`s possible to increase geometry quality while exporting to IFC.
I do prefer to export pipe network to IFC because I can decide which info I want to export and NWCOUT command in my opinion exports a little bit to many informations.
Many thanks for your help !
Hey can i ask what is the right version for Civil3D 2019.
AeccXUiPipe.AeccPipeApplication.12 for Civil 2018 in this version it works
AeccXUiPipe.AeccPipeApplication.13? or Civil 2019 in this version it does not work.
because when i use 13 the result = ?
Is there a list or is it a way that i look it up?
Thanks,
Jaka
Can't find what you're looking for? Ask the community or share your knowledge.