
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey everyone,
I'm having a problem with iLogic. In a part that I have I want a driven dimension so that I can stretch the part by hand. I want this driven dimension to have a minimal and a maximal value and an increment of 100mm. I also want the part to update automatically when I stretched the sketch. When I use this reference parameter in my iLogic code nothing happens.
I'm testing this with just a rectangle sketch with one driven dimension, a driving dimension and a extrude, just to keep things simple.
When I work with normal dimensions this all isn't a problem, but with a driven dimension I just can't get it to work. Googeling my problem doesn't give me the answer I'm looking for.
I found that when I used the statement where BaanLengte is the driven dimension:
If BaanLengte < 500 Then
MessageBox.Show("Te Klein, "Title")
BaanLengte = 500
End If
It shows the messagebox, but it doesnt change the BaanLengte parameter. So iLogic recognises the driven dimension but doesnt overwrite it with the value I want it to.
I hope someone here can help me, thanks in advance.
Robbert
Solved! Go to Solution.