[gme-users] Rename Folder which was created by interpreter
Kevin Smyth
kevin.m.smyth at gmail.com
Wed Oct 7 06:47:33 CDT 2015
CBuilderFolder is missing SetName. This is an oversight.
You could set the name in the model like this:
CBuilderFolder *fldr = builder.GetRootFolder();
fldr->GetIFolder()->put_Name(_bstr_t("New name"));
But fldr->GetName() will return outdated data.
Kevin
On Wed, Oct 7, 2015 at 4:26 AM, Patrick Lorrig <plorrig at me.com> wrote:
> hey everybody,
>
> I have a short yet hard question.
>
> I'm writing an interpreter at the moment. One step of the interpreter is
> to create a folder in the root folder. The issue is, that when I try to
> rename that folder (which is at the moment named " ") it seems that there
> is no option to do so, since the "name();" is protected.
>
> The code which creates the new folder at the moment:
> CBuilderFolder *GrTraceFolder =
> builder.GetRootFolder()->CreateNewFolder("GranulateTracing");
>
> Do you know any option how to name that folder?
>
> Thank you a lot in advance!
>
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/gme-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20151007/f0a34de1/attachment.html>
More information about the gme-users
mailing list