How to add complete label set into profile c3d 2017

How to add complete label set into profile c3d 2017

Anonymous
Not applicable
681 Views
2 Replies
Message 1 of 3

How to add complete label set into profile c3d 2017

Anonymous
Not applicable

Hi

 

I have created tool to create profile without surface working fine but i want to add complete label set int profile please help through c#

0 Likes
Accepted solutions (1)
682 Views
2 Replies
Replies (2)
Message 2 of 3

Jeff_M
Consultant
Consultant
Accepted solution
When you create a profile you must provide the labelsetstyle to use. Providing you have a profileview already in place, the labelset is added. However, I beleive that if the profile is created first, with the view created afterwards, then you must loop through the desired labelstyleset and manually create each of the labelstyles in the set.
Jeff_M, also a frequent Swamper
EESignature
0 Likes
Message 3 of 3

mszanto
Enthusiast
Enthusiast

Jeff, you're the man!
I was pulling my hair (virtually, since I don't have any) because I couldn't figure out why my label set styles were not being applied when I created surface profiles. In my case, I was creating my surface profiles before creating the profile view. Reversing the order (which makes more sense) resolved the issue. This wasn't an issue with the COM API.

To anyone else out there who is having trouble setting the ProfileLabelSetStyle on their surface profiles, remember to create your ProfileView before you create your surface profiles.

 

mike 

0 Likes