Disable linked properties in AsmElement and AsmElementLink
This commit is contained in:
parent
8999ca6015
commit
9e2037a13b
|
@ -197,6 +197,9 @@ class AsmElement(AsmBase):
|
|||
obj.addProperty("App::PropertyXLink","LinkedObject"," Link",'')
|
||||
super(AsmElement,self).attach(obj)
|
||||
|
||||
def canLinkProperties(self,_obj):
|
||||
return False
|
||||
|
||||
def execute(self,_obj):
|
||||
self.getShape(True)
|
||||
return False
|
||||
|
@ -533,6 +536,9 @@ class AsmElementLink(AsmBase):
|
|||
obj.addProperty("App::PropertyXLink","LinkedObject"," Link",'')
|
||||
super(AsmElementLink,self).attach(obj)
|
||||
|
||||
def canLinkProperties(self,_obj):
|
||||
return False
|
||||
|
||||
def execute(self,_obj):
|
||||
self.getInfo(True)
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue
Block a user