Problem: iLogic won't work on other workstations

Problem: iLogic won't work on other workstations

Anonymous
Not applicable
401 Views
3 Replies
Message 1 of 4

Problem: iLogic won't work on other workstations

Anonymous
Not applicable

So any code that looks into a part from an assembly works perfectly fine on my computer but when one of my coworkers tries to run the exact same program, it won't work at all.  No error, it just catches when trying to reference the model in an assembly.

 

Here is an example:

SyntaxEditor Code Snippet

Dim model As String = ThisDoc.Document.DisplayName & ".ipt"
Try
    radius = Parameter(model, "radius")
    ReverseInt = Parameter(model, "ReverseInt")
Catch
    MessageBox.Show("Model name does not match the assembly name: " & model,"Z-Rib Placement Error")
    Return
End Try

As I said, this works perfectly fine on my computer but when I run it on someone else's, it doesn't.

Also I should note that this is not an external rule.  It's all local to the assembly.

0 Likes
402 Views
3 Replies
Replies (3)
Message 2 of 4

Ron_Jones1122
Advocate
Advocate

Is everyone using the same project file?



Ron Jones
Engagement Manager
Blog
LinkedIn

0 Likes
Message 3 of 4

Anonymous
Not applicable

Yes, same project file.

0 Likes
Message 4 of 4

rhasell
Advisor
Advisor

Hi

 

I had a similar experience when working with file names. It could be a slight difference in the OS and how it displays the name.

Run a message box showing the "DisplayName" you might find that it is different on the other computer.

 

IE: Yours does not show the file extension, but on the other machine it does, therefore the other computer doubles up the file extension.

 

Give it a crack see if it helps.

 

Reg
2026.1
0 Likes