Get/SetPolygon() Problem

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 08/01/2011 at 04:48, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   11.5 
Platform:      
Language(s) :   C.O.F.F.E.E  ;

---------
Hi,

i want to create a polygonal instance  [with an ExpressionTagPlugin] and i am having some strange trouble with the Polygons.

  1. Deleting one ore more Polygons works fine of the reference, but selecting all Polygons and deleting them, will cause the instance won't change.
  2. For example using the Knife-Tool makes the mesh crazy and weird, as long as you create new (!!) Points with the Knife. See a comparison here
    Short: new unwanted Edges are created by the Tag.

I used GetPolygons(); and SetPolygons();.
MSG_POLYGONS_CHANGED & BackupTags are used, too.

Any idea ?
If you need more information, just tell me !

thanks in advance, nux

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 14/01/2011 at 03:55, xxxxxxxx wrote:

  1. I don't know, need some code.

  2. The problem is that COFFEE doesn't support Ngons.

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 14/01/2011 at 10:14, xxxxxxxx wrote:

  1. I already fixed that. I think it was because GetPolygons() returned null because there was no Polygon and then SetPolygons() jsut did nothing because there was nothing to do with null. 🙂

  2. Ah too bad  .. 😞
    It's time to learn C++

Thanks, nux