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

structural member Design Properties

5 REPLIES 5
Reply
Message 1 of 6
Oli13010
346 Views, 5 Replies

structural member Design Properties

Hi evrybody,

 

I'm trying to extract the Design Prpoperties of the location in Autocad Mep in the Structural Member. We are making a DB with all of supports in order to present  our model and in our DB we need to have the location.

I found where I can extract the lenght but I need absolutly  the start x, y, z  and the end x, y, z.

 

Could you please help me ?

 

Thanks a lot Evrybody,

 

Olivier

 

Apologyse for my english I'm french Smiley Embarassed

 

Capture.PNG

5 REPLIES 5
Message 2 of 6
VitalyF
in reply to: Oli13010

Hi,

 

Try to use the properties of objects with the formula.

for MEP 2015 ENG

 

RESULT="--"
On Error Resume Next
Set app = GetObject(,"AutoCAD.Application")
Set aec = app.GetInterfaceObject("AecX.AecBaseApplication.7.7")
aec.Init app
Set Mem = app.ActiveDocument.ObjectIDToObject([StructuralObjects:ObjectID])
pt = aec.ActiveDocument.Utility.ConvertToVariantArray(Mem.StartPoint)
RESULT = "X= " & pt(0) & " Y=" & pt(1) & " Z=" & pt(2)

 

 StructuralMemberStartEndLocation.gif

Message 3 of 6
VitalyF
in reply to: Oli13010

 
Message 4 of 6
Oli13010
in reply to: VitalyF

Hi,

 

Before thanks for your answer.

Could you explain me how to enter a formula, I do not usualy use Autocad Mep Man Embarassed.

My sofware version is 2014.

could you send me a internet site where I can find some information about the macro in AutoCad Mep.

 

Thanks you for your help 

 

Olivier

 

Message 5 of 6
VitalyF
in reply to: Oli13010

Hi,

 

To start with formulas - Brain Dump - Property Data Enhancements

and for advanced user ADT Schedule Feature Resources

 

Ac can put the formula in the Property Set Defenitions - 1,2

or Schedule Table directly - 3,4

 

structural member Design Properties_1.gif

 

structural member Design Properties_2.gif

 

Your version of AEC >>

 

AECVersion.gif

 

 

 

Regards,

 

Vitaly

Message 6 of 6
Oli13010
in reply to: VitalyF

Hi Vitaly,

 

Thanks for your solution, that's running very good.

 

Currently I'm working to extract several routing, I succeed with the piping to locate the start (x, y, z) and the end (x, y, z) but I've got a problem with the elbow. The coordinates are in connection detail avanced.

 

Connection_Detail.PNG

 

I want to get the locations for connector 1 and 2.

 

Could you plaese help me ?

 

Kinds Regards,

 

 

Olivier

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost