Home
Reply
Contributor
linghaoecust
Posts: 8

api_copy_entity_contents(entity1,entity2)

hi! this API function creates a copy of entity1 all its associated subentities. Cany ou tell me whether the two entitys have the same normal?(entity above face) thank you!
Spatial Moderator
ybiyani
Posts: 223

Re: api_copy_entity_contents(entity1,entity2)

1) api_copy_entity_contents is deprecated and replaced with api_down_copy_entity (see http://doc.spatial.com/index.php/Copying_Objects#Deprecated_Copy_Functionality:_api_copy_entity_cont...)

 

2) The table here summarizes http://doc.spatial.com/index.php/Copying_Objects#Comparison_of_Copy_Mechanisms how data is shared when using various api

 

Please review  http://doc.spatial.com/index.php/Copying_Objects#Down_Copy in detail

 

And the short answer to your question is - the evaluation of new and old should return the same result - immediately after the copy.

 

Regards,

Yogesh