What's the difference between ObjectID and PpObjectId ?

What's the difference between ObjectID and PpObjectId ?

214860559
Contributor Contributor
1,213 Views
3 Replies
Message 1 of 4

What's the difference between ObjectID and PpObjectId ?

214860559
Contributor
Contributor

I met problems as follows:

1) What's  the difference between ObjectID and PpObjectId ?

2) What the rowId get from dlm.FindAcPpRowId(pnpId)  stand for? how to  understand  the rowID? 

The SDK has no detailed message of the managed Classes , thus it is hard to understand some member and method, thanks very much for your reading. 

无标题.jpg

0 Likes
Accepted solutions (1)
1,214 Views
3 Replies
Replies (3)
Message 2 of 4

jabowabo
Mentor
Mentor
Accepted solution

@214860559 wrote:

I met problems as follows:

1) What's  the difference between ObjectID and PpObjectId ? 

ObjectId is the standard unique identifier for all AutoCAD objects - line, circle, block, etc.

PpObjectId is the unique identifier for rows in the Plant 3D database.

 

2) What the rowId get from dlm.FindAcPpRowId(pnpId)  stand for? how to  understand  the rowID? 

Row ID is an integer value which is the same as PpObjectId - see more info here.

 


 

Message 3 of 4

214860559
Contributor
Contributor
Thank you very much for your reply, but i get a little confused after I complied the link program, does it mean the PpObjectId and rowID used only in PID not in the piping part of P3D?
0 Likes
Message 4 of 4

jabowabo
Mentor
Mentor

@214860559 wrote:
Thank you very much for your reply, but i get a little confused after I complied the link program, does it mean the PpObjectId and rowID used only in PID not in the piping part of P3D?

Each PnID object AND each P3D object have a unique rowId/PpObjectId. 

0 Likes