How can I use in fields handle to objects

How can I use in fields handle to objects

costin.calin
Participant Participant
394 Views
1 Reply
Message 1 of 2

How can I use in fields handle to objects

costin.calin
Participant
Participant

I write fields in table, in blocks or in text.

 

A field example:

%<\\AcObjProp Object(%<\\_ObjId 2283715510624>%).Area>%

 

But objects ID isn't same in diffrent load. Sometime show me "####" because ID was change.

And it need to do all links again.

Handle is everytime same!

It's a posibility to use some how %<\AcDiesel>% or %<\AcExpr>% ?

0 Likes
395 Views
1 Reply
Reply (1)
Message 2 of 2

cadffm
Consultant
Consultant

Hi,

that's how it is.

Handles are static inside one file, vla-objectid is temporary per session.

 

One time created, your field works,

but for different files/sessions you have to get the current objectid of this object.

 

Look inside sample codes or copy ready functions for it.

Search for lee mac LM:ObjectID as "allinone" solution (32bit/64bit program versions have different methods to get this id)

 

 

Sebastian

0 Likes