← Back to team overview

yade-dev team mailing list archive

Re: [Bug 1455621] [NEW] documentation bug: getting class name fails

 

@Vaclav, yes indeed but I'm nearly sure there is another way (like
getClassName, or classIndex, or something), even probably used in some
exemple scripts, but I couldn't find it.

On 17 May 2015 at 00:28, Václav Šmilauer <eu@xxxxxxxx> wrote:

> > Public bug reported:
> >
> > In the example code of section [1], class.name fails. I couldn't find
> > the solution myself, still searching...
> >
> > [1]
> https://yade-dem.org/doc/prog.html?highlight=classname#run-time-type-identification-rtti
> use Sphere().__class__.__name__
>
> v.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1455621
>
> Title:
>   documentation bug: getting class name fails
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/yade/+bug/1455621/+subscriptions
>
>

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1455621

Title:
  documentation bug: getting class name fails

Status in Yet Another Dynamic Engine:
  New

Bug description:
  In the example code of section [1], class.name fails. I couldn't find
  the solution myself, still searching...

  [1] https://yade-dem.org/doc/prog.html?highlight=classname#run-time-
  type-identification-rtti

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1455621/+subscriptions


References