Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
when running custom python Tray the user complains about the way the length is changed.
I can get/set ALL the properties off the object but the parameters are not listed i.e. L1.
I can read the parameters but not seem to set them. any thoughts?
Using tr As Transaction = doc.TransactionManager.StartOpenCloseTransaction()
Dim Partx As Entity = tr.GetObject(res.ObjectId, OpenMode.ForWrite)
Dim Param As New ParametricPart(Partx)
Dim Params() As String = Split(Param.Parameters.ToString, ",")
Dim Parinfo As ACPUtils.ParameterList = Param.Parameters
Dim Info1 As ACPUtils.ParameterInfo = Parinfo.Item("L1")
Info1.Value = NLen 'input from user 2 points
Solved! Go to Solution.