Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot get titleBlockStrings to accept values from list for prompted entry

1 REPLY 1
Reply
Message 1 of 2
JamesNordgren
418 Views, 1 Reply

Cannot get titleBlockStrings to accept values from list for prompted entry

Can anyone see why the code below will not successfully pass my list values into the titleBlockStrings parameter?   All the other parameters in the child get set properly, but not that one!  I have double checked that the prompted entry name in my title block definition matches the name in the code exactly.

 

<%%DisplayName ("Drawing Core Coil")> _
Design deDrawingCoreCoil_DSE : deRootCoreCoilDrawings deMixinDrawing 

	<%%Category("SHEET RULES"), _
	%%Choices("A, B, C, D")> _
	Parameter Rule sSheetSize As String = "D"
	
	Rule sDrawingNo As String = sAsmDrawingNo
	
	<%%Category("SHEET RULES")> _
	Parameter Rule sBorder As String = "DSE"
	
	Parameter Rule sTitleBlockDefinition As String = "DSE"
	
	Parameter Rule sTitleBlockStrings As List = {{"Distribution", "ASSEMBLY"},{"",""}}

	<%%Category("Inventor")> _
	Parameter Rule drawingFileName As String = sDrawingNo + "." + iv_getDefaultDrawingFileType()
	
	Rule sDrawingTitle As String = sAsmTitle
	
	Child CoreCoilSheet As :deSheetCoreCoil
		border = sBorder
		titleBlockDefinition = sTitleBlockDefinition
		titleBlockStrings = sTitleBlockStrings 
		sheetsToDelete = listSheetsToDelete
		size = sSheetSize
		displayName = "CORE.COIL.SHEET"
	End Child

 Thanks to anyone who can help!

 

1 REPLY 1
Message 2 of 2

Problem solved: It was simply an Inventor property naming issue.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report