THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/02/2012 at 12:03, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform:
Language(s) :
---------
Hi,
I'm trying to get the name of the Selection. For example i've a cube and added a selection tag. changed the name from Polygon-selection to Test. The problem i got is that it always return the default name "polygon-selection".
BaseSelect bs = st.GetBaseSelect();
bs.Select(0);
if (bs.IsSelected(0))
{
BaseTag bt = BaseTag.Alloc(C4dApi.Tpolygonselection);
selekname = bt.GetName();
C4dApi.GePrint("Die eingefrorene Selektion heißt: " + bt.GetName());
}