exception on IsActive Function

exception on IsActive Function

nicolasmuller083
Observer Observer
211 Views
1 Reply
Message 1 of 2

exception on IsActive Function

nicolasmuller083
Observer
Observer

We experience an exception on the call of a IsActive Function.

See the text of the source code. (the function calls have been put in comment at the time being...

 

The full message of the exception in the second attachment.

 

This Problem surges only for the GanzGlassFüllung Component and not for the others...

 

Thks in advance

 

PS : the inventor version is 2025

 

 

0 Likes
212 Views
1 Reply
Reply (1)
Message 2 of 2

n_mullerLMQ8C
Explorer
Explorer

I have to complete this case... It happens that there is an "incompatibility" between those 2 instructions

- inventorApp.activeDocument.save() and 

- component.isActive(MakePath("parentlevell","component")) = true

 

Here under a more detailed reporting. It is a nogo bug. actually, it cant be viable to renounce either to activation of component or on the save of the corresponding document !!!!

 

Hi Adam,

 

I succeeded in isolating one problem that is fully clear in our software.

 

In TürDesigner SW, it is impossible to have both

  • A request for activation of a component,
  • A request for save of a document.

 

That means both instruction can’t cohabit in the same SW !!!

 

We have the instruction _invApp.ActiveDocument.save() in TürDesigner

And we have instructions such as Component.isActive(MakePaht(„xxx“,“yyy“) = true (or false) in Ganzglassfüllung.vb

 

You CANT maintain those 2 kinds of instruction simultaneously in the code !!!!

 

Please, did you already hear about that ?

Is this a well known bug ?

Clearly, it cant be accepted that we cant save wenn we activate/deactivate a component….

Is there a patch fort hat ?

If there is one, could please forward it to me with high precedence ?

It is now more than one month that we are stuck with this problem…

Did other developer encounter this problem ?

Could you reproduce this problem in the environment I sent to you ?

I sent you everything to settle that for one week, with a guide how to start it and to activate this sequence…

I already gave you clues about the problem in my tickets…

I didnt see a post refering to this problem on the forum…

I also didn’t receive support relating to my tickets (2 tickets created at 2 different places)

I didnt receive either any response to the case that I posted on the forum of inventor…

As it been solved through a patch already ?

 

PS : what is funny ist hat we can use isActive as a getter, but not as a setter (it is a fact that ist naming makes more reference to a getter, but the exemples I saw allowed tot hink that the instructions that are in Tür Designer are syntactically correct.

 

Best Regards

0 Likes