method to get paths between two objects
This commit is contained in:
@@ -271,6 +271,12 @@ std::vector<App::DocumentObject*> DocumentObject::getOutListRecursive(void) cons
|
||||
return array;
|
||||
}
|
||||
|
||||
std::vector<std::list<App::DocumentObject*> >
|
||||
DocumentObject::getPathsByOutList(App::DocumentObject* to) const
|
||||
{
|
||||
return _pDoc->getPathsByOutList(this, to);
|
||||
}
|
||||
|
||||
DocumentObjectGroup* DocumentObject::getGroup() const
|
||||
{
|
||||
return dynamic_cast<DocumentObjectGroup*>(GroupExtension::getGroupOfObject(this));
|
||||
|
||||
Reference in New Issue
Block a user