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
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)
Hi,
Before thanks for your answer.
Could you explain me how to enter a formula, I do not usualy use Autocad Mep .
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
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
Your version of AEC >>
Regards,
Vitaly
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.
I want to get the locations for connector 1 and 2.
Could you plaese help me ?
Kinds Regards,
Olivier