TheSwamp

CAD Forums => Vertically Challenged => Land Lubber / Geographically Positioned => Topic started by: Tortiz on March 20, 2013, 01:19:29 PM

Title: Appling a Label Set to a civil 3d profile using API
Post by: Tortiz 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?
Title: Re: Appling a Label Set to a civil 3d profile using API
Post by: Jeff_M 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.
Title: Re: Appling a Label Set to a civil 3d profile using API
Post by: Tortiz on March 20, 2013, 04:37:19 PM
Thanks Jeff :-)