Opened 18 years ago

Last modified 18 years ago

#75 closed defect (fixed)

Error on using 'getConnectorCount' command

Reported by: k.wong Owned by: k.wong
Priority: blocker Milestone:
Component: Version:
Keywords: Cc: k.wong, Adrian Pop

Description


Change History (3)

comment:1 by k.wong, 18 years ago

Hi,

I have used the following command in WinMosh environment to get the number of
connector but it seem that there are errors generated in using the command. The
command has been tried for other classes and the result is either 1 or 0. Does
the recursive errors means that the class Resistor should have two connectors
instead?? Your help is much appreciated. Thanks

getConnectorCount(Modelica.Electrical.Analog.Basic.Resistor)

0

#Error, lookup_classdef failed
Interfaces.OnePort in Modelica
#Error, lookup_classdef failed
Interfaces.OnePort in Modelica.Electrical
#Error, lookup_classdef failed
Interfaces.OnePort in Modelica.Electrical.Analog
#Error, lookup_classdef failed
Interfaces.OnePort in Modelica.Electrical.Analog.Basic
#Error, lookup_classdef failed
Interfaces.OnePort in Modelica.Electrical.Analog.Basic.Resistor
#Error, lookup_classdef failed
SI.Resistence in Modelica
#Error, lookup_classdef failed
SI.Resistence in Modelica.Electrical
#Error, lookup_classdef failed
SI.Resistence in Modelica.Electrical.Analog
#Error, lookup_classdef failed
SI.Resistence in Modelica.Electrical.Analog.Basic
#Error, lookup_classdef failed
SI.Resistence in Modelica.Electrical.Analog.Basic.Resistor

regards
Casey Wong

comment:2 by Peter Aronsson, 18 years ago

The getConnectorCount function is deprecated.

The list of functions needs to be gone through to see which more functions are
deprecated and the documentation must be updated.

comment:3 by Peter Aronsson, 18 years ago

Setting this to invalid, since deprecated function.

Note: See TracTickets for help on using tickets.