Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
JhoelForshav
in reply to: gma

@gma 

I don't think you can make the subassembly always flexible on place... You can however run this code in the main assembly after you've placed your components to make the subassemblies starting with "StandardLeg" flexible :slightly_smiling_face:

Dim oAsm As AssemblyDocument = ThisDoc.Document
For Each oOcc As ComponentOccurrence In oAsm.ComponentDefinition.Occurrences
	Try
	If oOcc.Definition.Document.DocumentType = DocumentTypeEnum.kAssemblyDocumentObject _
		AndAlso oOcc.Name.StartsWith("StandardLeg") Then oOcc.Flexible = True
	Catch
	End Try
Next