Help: Avoid default dragging of linked object into the group when object is moved

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Help: Avoid default dragging of linked object into the group when object is moved

Post by carlopav »

Hello, need some help for this thing:
- An object that links to another with an App::PropertySubLinkGlobal is moved into an App::Part (es. being the first object a Draft_Dimension and the second a line: usecase move the DraftDimension into the App::Part).
- Also the linked object is moved. (es. if you move the dimension into an App::Part also the dimensioned line is moved)

That's problematic for some workflows I have in mind. How can we avoid that? If the scope of the link is Global, it should be allowed to have them in 2 different GeoFeaturesGroups. (Since the object is a Part::FeaturePython I can modify its ViewProvider)

Thanks for any hint!
follow my experiments on BIM modelling for architecture design
Post Reply