Expose global placement calculation to python API
This commit is contained in:
@@ -112,6 +112,9 @@ DocumentObject* GeoFeatureGroupExtension::getGroupOfObject(const DocumentObject*
|
||||
|
||||
Base::Placement GeoFeatureGroupExtension::globalGroupPlacement() {
|
||||
|
||||
if(getExtendedObject()->isRecomputing())
|
||||
throw Base::Exception("Global placement cannot be calculated on recompute");
|
||||
|
||||
return recursiveGroupPlacement(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user