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

API - Get Drawing Info by PnPRow RowId

1 REPLY 1
Reply
Message 1 of 2
serajr
555 Views, 1 Reply

API - Get Drawing Info by PnPRow RowId

I´d like to know if it´s possible to get drawing properties like DwgName, DwgTitle by r.RowId in a loop (VB.Net):

 

Dim pp As PlantProject = PlantApplication.CurrentProject
Dim prj As Project = pp.ProjectParts("Piping")
Dim dlm As DataLinksManager = prj.DataLinksManager
Dim db As PnPDatabase = dlm.GetPnPDatabase()

Dim tab As PnPTable = db.Tables("Fasteners")
Dim ids As PnPRowIdArray = Nothing
Dim rows As PnPRow() = tab.Select(Nothing, ids)

For Each r As PnPRow In rows

    ' Here I´d like to get drawing properties with r.RowId or with another way!!

Next

 Any help would be great... Thanks in advance!!

 

1 REPLY 1
Message 2 of 2
Tore.Eek-Jensen
in reply to: serajr

Hi Serajr

 

Did you ever solve this? I'm facing the same problem.

 

Cheers

Tore

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

Post to forums  

Autodesk Design & Make Report

”Boost