CadWorx Information

CadWorx Information

Anonymous
Not applicable
851 Views
4 Replies
Message 1 of 5

CadWorx Information

Anonymous
Not applicable
Does anyone know how to get access to the Cadworx/Coade (P&ID or PIPE)
information in VBA? I would like to get the Cadworx info off an object and
also manipulate it from VBA.

Any suggestions would be appreciated.

Thank you
0 Likes
852 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Not sure. If it is an ACAD drawing then they may have custom objects or proxies. Do scan of the drawing in VBA.

dim ent as acadentity
dim entname as string

for each ent in thsdrawing.modelspace

entname = ent.objectname

msgbox entname
next

Now if nothing is a proxy or ACADZombie you have a better chance.

They may be stroing data in xdata. If you have the express tolls installed type xdlist at the commandline and enter twice. See ift here is data there. You can also check the drawing sxrecord from VB.
0 Likes
Message 3 of 5

Anonymous
Not applicable
Dave,

Interestingly, no entities exist.

What is "express tolls"?

Thanks,
Jeff

wrote in message news:5555288@discussion.autodesk.com...
Not sure. If it is an ACAD drawing then they may have custom objects or
proxies. Do scan of the drawing in VBA.

dim ent as acadentity
dim entname as string

for each ent in thsdrawing.modelspace

entname = ent.objectname

msgbox entname
next

Now if nothing is a proxy or ACADZombie you have a better chance.

They may be stroing data in xdata. If you have the express tolls installed
type xdlist at the commandline and enter twice. See ift here is data there.
You can also check the drawing sxrecord from VB.
0 Likes
Message 4 of 5

Anonymous
Not applicable
Typo, express tools.


No entities>>>????????????

Post a drawing for download so I can take a look. Message was edited by: Discussion Admin
0 Likes
Message 5 of 5

Anonymous
Not applicable
Most, if not all Cadworx entity information is stored within the centerline as XDATA. By using any of the function GetXData, you should be able to retrieve the information that you require. To view what is stored within the Cadworx centerline, simply use the Express/Tools/List Object XData and all will be revealed to you.
0 Likes