Author Topic: Appling a Label Set to a civil 3d profile using API  (Read 2056 times)

0 Members and 1 Guest are viewing this topic.

Tortiz

  • Guest
Appling a Label Set to a civil 3d profile using API
« on: March 20, 2013, 01:19:29 PM »
Is it possable to Label a Civil 3d Profile using the com or net API? If so can you point me in the right direction?

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: Appling a Label Set to a civil 3d profile using API
« Reply #1 on: March 20, 2013, 03:38:13 PM »
Yes.
When creating a Profile you can specify the LabelSet to use. (.NET API)
You can add the individual label types to an existing profile (think of this as applying the LabelSet styles yourself, not sure why there isn't a way to add the LabelSet itself). (.NET API) Look at the ProfileLineLabelGroup, ProfileCrestCurveLabelGroup, and ProfileSagCurveLabelGroup classes. They each have a Create method.

I believe the COM API has similar objects.

Tortiz

  • Guest
Re: Appling a Label Set to a civil 3d profile using API
« Reply #2 on: March 20, 2013, 04:37:19 PM »
Thanks Jeff :-)