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

@Jam_Jumpin,

 

Hoping that below iLogic code may helpful.

 

TempFile="C:\Users\***\Target\temp_part.ipt"
TargetFile="C:\Users\***\Target\New file.ipt"

ThisDoc.Document.SaveAs(TempFile, True)

Dim Temp2 As PartDocument 
Temp2 = ThisApplication.Documents.Open(TempFile)

Dim oDef As PartComponentDefinition
oDef = Temp2.ComponentDefinition 

oDef.Parameters.Item("w") = InputBox("Width", "Size", "10")

InventorVb.DocumentUpdate()

Temp2.SaveAs(TargetFile, True)

Temp2.Close

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network