Property Set Data for Pipes

kubastan89
Collaborator
Collaborator

Property Set Data for Pipes

kubastan89
Collaborator
Collaborator

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 ?

 

0 Likes
Reply
Accepted solutions (2)
5,853 Views
35 Replies
Replies (35)

Mike.M.Carlson
Advisor
Advisor

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

0 Likes

kubastan89
Collaborator
Collaborator

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 ?

0 Likes

MMcCall402
Mentor
Mentor

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

Mike.M.Carlson
Advisor
Advisor

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

kubastan89
Collaborator
Collaborator

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 😕

0 Likes

drazen.galic
Collaborator
Collaborator
I am wondering why do you need structure names in PSD? IFC export?
0 Likes

kubastan89
Collaborator
Collaborator
Yes. I want to export pipe network to IFC without loosing pipes and structures properties.
0 Likes

drazen.galic
Collaborator
Collaborator

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

 

 

0 Likes

kubastan89
Collaborator
Collaborator

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

0 Likes

drazen.galic
Collaborator
Collaborator

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

drazen.galic
Collaborator
Collaborator

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

0 Likes

kubastan89
Collaborator
Collaborator
Accepted solution

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 ?

 

0 Likes

drazen.galic
Collaborator
Collaborator

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

0 Likes

kubastan89
Collaborator
Collaborator

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.

0 Likes

drazen.galic
Collaborator
Collaborator

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

 

 

0 Likes

drazen.galic
Collaborator
Collaborator

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

 

 

 

 

0 Likes

drazen.galic
Collaborator
Collaborator
Accepted solution

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.

 

kubastan89
Collaborator
Collaborator

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 !

0 Likes

Anonymous
Not applicable

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

 

0 Likes