AutoCAD Civil 3D Customization

AutoCAD Civil 3D Customization

Reply
Active Member
olivier.eckmann
Posts: 7
Registered: ‎03-13-2012
Message 1 of 2 (79 Views)

Copy Profile1&2Id for ProfileVewBandItem from one ProfileView to another

79 Views, 1 Replies
07-02-2012 02:30 PM

Hello, 

 

I would like to copy the settings of Profile1 & Profile2 in bands from one ProfileView to another ProfilView.

I succeed to read Id (and name) for each ProfilViewBandItem form the source ProfileView, then I select the target ProfileView.

I open it in Write mode, and for each ProfileViewBandItem, I replace the Profile1Id and Profile2Id by good Id, but when I commit transaction nothing appears, the profilview is not updated, bands stay with their original settings.

 

How can I force the ProfileView to be updated after assigning new Id for Profile 1 & 2?

 

Thanks

 

Olivier

Active Member
olivier.eckmann
Posts: 7
Registered: ‎03-13-2012
Message 2 of 2 (71 Views)

Re: Copy Profile1&2Id for ProfileVewBandItem from one ProfileView to another

07-02-2012 09:59 PM in reply to: olivier.eckmann

Solved by forcing SetBottomBands

 

Olivier

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.