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

vba - Label Component - Reference Text Objects

3 REPLIES 3
Reply
Message 1 of 4
kkaraagac
864 Views, 3 Replies

vba - Label Component - Reference Text Objects

How to reach Reference Text Object in Vba?

 

We can add Reference Text in Label Components. it can be referenced to Alignment, COGOPoint, Parcel, etc. For example, after that it is needed to select a COGO Point, and Label is changed from "???" to a property of selected Reference Object. I want to add Reference Text by VBA.

 

Thanks in advance,

3 REPLIES 3
Message 2 of 4
Jeff_M
in reply to: kkaraagac

Two things....

There is a forum specifically for customization questions: HERE

The Reference Text Component can be read, but you cannot set the object used in it programatically. At least not that I've been able to ascertain.

Jeff_M, also a frequent Swamper
EESignature
Message 3 of 4
kkaraagac
in reply to: Jeff_M

Thanks Jeff.

 

"...The Reference Text Component can be read..."

Forget about setting a reference text programatically, it is enough to reach or read reference text component. could you please write an example with 2-3 lines here?

Message 4 of 4
Jeff_M
in reply to: kkaraagac

Seems as though I mis-spoke. The COM API (ActiveX used in VBA) does not expose the Label components. 

Jeff_M, also a frequent Swamper
EESignature

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

Post to forums  

Rail Community


Autodesk Design & Make Report