Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Property Set Data for Pipes

35 REPLIES 35
SOLVED
Reply
Message 1 of 36
kubastan89
5853 Views, 35 Replies

Property Set Data for Pipes

Hi,

I`ve added the structure names on both ends of pipe with Property Set Data in accordance with this workflow:

https://knowledge.autodesk.com/support/autocad-civil-3d/learn-explore/caas/sfdcarticles/sfdcarticles...

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 ?

 

35 REPLIES 35
Message 2 of 36
Mike.M.Carlson
in reply to: kubastan89

Hi I see an error in the Property Set Definition.  Please see below:

 

Capture1111.PNG




Michael M. Carlson
Senior Civil Designer
CADD Manager
AutoCAD Civil 3D Professional
AutoCAD Professional

Message 3 of 36
kubastan89
in reply to: Mike.M.Carlson

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 ?

Message 4 of 36
MMcCall402
in reply to: kubastan89

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. 

Mark Mccall 
CAD Mangler



Hammer Land Engineering


Linkedin

Message 5 of 36
Mike.M.Carlson
in reply to: kubastan89

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.

 

Captureaaa.PNG

 

I am looking into this more.




Michael M. Carlson
Senior Civil Designer
CADD Manager
AutoCAD Civil 3D Professional
AutoCAD Professional

Message 6 of 36
kubastan89
in reply to: Mike.M.Carlson

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 😕

Message 7 of 36
drazen.galic
in reply to: kubastan89

I am wondering why do you need structure names in PSD? IFC export?
Message 8 of 36
kubastan89
in reply to: kubastan89

Yes. I want to export pipe network to IFC without loosing pipes and structures properties.
Message 9 of 36
drazen.galic
in reply to: kubastan89

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

 

Link to LinkedIN article

 

Drazen

 

 

Message 10 of 36
kubastan89
in reply to: drazen.galic

According to this posts it should work:

https://knowledge.autodesk.com/support/autocad-civil-3d/learn-explore/caas/sfdcarticles/sfdcarticles...

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 ...

Message 11 of 36
drazen.galic
in reply to: kubastan89

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.

 

property extended data.PNG   

 

In my property set data I did what was proposed initially:

 

PSD definition.PNG

 

And in definition for End_S for example I have:

 

code.PNG

 

Do you have like that?

 

Drazen

Message 12 of 36
drazen.galic
in reply to: drazen.galic

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

Message 13 of 36
kubastan89
in reply to: drazen.galic

My mistake... I haven`t added .0 after 12 in ("AeccXUiLand.AeccApplication.12.0") expression.

I added Property Sets  for pipes.

PipeData.PNG

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.

PipeDataIFC.PNG

and that Structure and Pipe geometry is distorted.

structure IFC.PNG

Do you know any solutions for above problems ?

 

Message 14 of 36
drazen.galic
in reply to: kubastan89

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

Message 15 of 36
kubastan89
in reply to: drazen.galic

When I use NWCOUT command structure and pipes looks much better than after exporting to IFC:

structure NWC.PNG

You can find my example that I work on in the attachment.

Message 16 of 36
drazen.galic
in reply to: kubastan89

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:

nwc_picture.PNGgfff

 

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

 

 

Message 17 of 36
drazen.galic
in reply to: kubastan89

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:

 

ifc_urb.PNG

 

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:

 

 

dialog ifc urb.PNG

 

 

Regards,

 

Drazen

 

 

 

 

Message 18 of 36
drazen.galic
in reply to: kubastan89

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-10.PNG

 

 

Facetdev = 0.0001, file size = 251 kB

 

FACETDEV-0001.PNG

 

 

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.

 

Message 19 of 36
kubastan89
in reply to: drazen.galic

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 !

Message 20 of 36
Anonymous
in reply to: kubastan89

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.

Post to forums  

Rail Community


Autodesk Design & Make Report