Functions inheriting parameters

Discussions about UPDM functionalities

Moderators: lintut, Moderators

Functions inheriting parameters

Postby » Sat Jul 07, 2018 2:17 pm

MD 18.5, SP2, UPDM2

A Function can inherit from another function and this is easily depicted on an SV-4. But, I don't see the expected benefits of this inheritance as we would see if we were using Blocks for example. Specifically, it would be nice if parameters from a "base" functions could be inherited by "children" of the base function.

I have a case where I've got many functions that are very similar, but slightly different in behavior. Their parameters are the same and I was hoping to use function inheritance to model this where a base function would specify the parameters and then various child functions could inherit the parameters.

Any suggestions on how to properly model this using MD would be appreciated.


Forum Newbie
Forum Newbie
Posts: 23
Posts Rating:0
Joined: Wed Mar 28, 2018 10:24 pm

Re: Functions inheriting parameters

Postby » Tue Jul 17, 2018 12:38 am

Thank you for your question.

How parameters from a “base” function are inherited by “children” of the base function is shown in picture below.
As you can see, there is Inherited Member line and listed all inherited members included parameters. However, there is no possibility to use inherited parameters in diagrams.

As a workaround, we can suggest copying all parameters from a „base“ function and pasting them to “children” of the base function.

If you have any other questions or encounter any other problems, please feel free to contact us for further assistance.

Best regards,
No Magic, Inc. Customer Support
You do not have the required permissions to view the files attached to this post.
Best regards,
No Magic, Inc. Customer Support
Forum Newbie
Forum Newbie
Posts: 19
Posts Rating:1
Joined: Wed Nov 18, 2015 4:53 am

Return to UPDM

Who is online

Users browsing this forum: No registered users and 1 guest