Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

SIDE 1290. INFO TEXT IN COMPONENT

2 posters

Go down  Message [Page 1 of 1]

1SIDE 1290. INFO TEXT IN COMPONENT Empty SIDE 1290. INFO TEXT IN COMPONENT Sat Jul 09, 2022 3:34 pm

Defran

Defran

SIDE 1290. INFO TEXT IN COMPONENT 453210

SIDE 1290. INFO TEXT IN COMPONENT 2022-041

When creating a componente, if I add an informative text it appears like this in the scheme. Like a Mister Spain band... :-)

2SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Sun Jul 10, 2022 2:08 pm

arcachofo

arcachofo

Like a Mister Spain band... :-)
SIDE 1290. INFO TEXT IN COMPONENT 1f606

How did do you do that?

3SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Sun Jul 10, 2022 3:47 pm

Defran

Defran

Ha Ha Ha, The info text inside of the body must be invisible por simulide, like a comment in C, very useful. Is it possible?

4SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Sun Jul 10, 2022 8:34 pm

arcachofo

arcachofo

The info text inside of the body is determined by "Name" property in package component.
If you don't want any text just leave it empty.
If it is set to "Package" it will take the package name used in component list.

But I still don't understand... the name inside of the body is small gray text, but that is bigger and blue, and that angle should not be possible unless you modify .sim1 file manually.

5SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Sun Jul 10, 2022 10:22 pm

Defran

Defran

Name is a very short and it is for the name. The idea is to be able to include text boxes for comments, specs and so on obout the component without limits into the sim1 of the component, as it can be put in the schematic, but this text would only be visible entering in sim1 of the componnent, easy. Look at the example below...

SIDE 1290. INFO TEXT IN COMPONENT 453211

6SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Mon Jul 11, 2022 3:52 pm

arcachofo

arcachofo

Ok, now I understand: you want to put a comment in sim1 file.

For this you can use xml comment format:
Code:
<!--This is a comment area, write your comment-->

But for specs and so on, you could use help files and that text will be visible in properties dialog when clicking "Help" button.
For example atmegas already have help files:

SIDE 1290. INFO TEXT IN COMPONENT Help210

7SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Mon Jul 11, 2022 4:11 pm

Defran

Defran

ok, but it is more operational and visible as I propose? is it so complicated to do it?

8SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Mon Jul 11, 2022 4:25 pm

arcachofo

arcachofo

ok, but it is more operational and visible as I propose? is it so complicated to do it?
As I understand you propose a comment in sim1 file, is this correct?

9SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Mon Jul 11, 2022 4:41 pm

Defran

Defran

Right, a comment in sim1 of the component, this is the more simple and operative system. Visible only when the component file sim1 is open.

As I have shown you in my last image.

10SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Mon Jul 11, 2022 4:58 pm

arcachofo

arcachofo

Right, a comment in sim1 of the component, this is the more simple and operative system. Visible only when the component file sim1 is open.
Sorry but I'm not sure if I understand.

Why a comment in sim1 of the component is the more simple and operative system?
Almost nobody opens that file in a text editor.

11SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Mon Jul 11, 2022 5:29 pm

arcachofo

arcachofo

Definitely I don't understand what you want:
A comment is only visible if you open the the file in a text editor (like a comment in C).

As I have shown you in my last image.
If you want a text visible in your circuit you can use the "Text" component as you did in that image, what is the problem with that?

But in any case, most users will not open that file because they don't know that file even exist, so that information is useless for most people.

If you take the time to write that information, the best use would be the "Help" system, that is available when someone uses that component.

12SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Mon Jul 11, 2022 5:44 pm

Defran

Defran

Summarizing. I propose to be able to add texts in the sim1 component files, nothing more.

13SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Mon Jul 11, 2022 5:54 pm

arcachofo

arcachofo

Summarizing. I propose to be able to add texts in the sim1 component files, nothing more.
That is what the text component do.

14SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Mon Jul 11, 2022 6:00 pm

Defran

Defran

Exatly, but without the crossed text appearing on the component after in the scheme as a miss Spain band... ;-)

15SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Mon Jul 11, 2022 6:53 pm

arcachofo

arcachofo

Exatly, but without the crossed text appearing on the component after in the scheme as a miss Spain band... ;-)
Text component don't do that.

16SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Mon Jul 11, 2022 10:26 pm

Defran

Defran

But is there something you can not do in programming?

17SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Wed Jul 13, 2022 7:19 pm

Defran

Defran

In UBUNTU the same thing happens. All text in the componentsĀ“s sim1 appears crossed when output to the Simulide schematic. Tell me something please.

SIDE 1290. INFO TEXT IN COMPONENT 20220710

SIDE 1290. INFO TEXT IN COMPONENT 20220711

18SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Wed Jul 13, 2022 9:23 pm

arcachofo

arcachofo

If you tell me what do you want and what are do you doing maybe I can tell you something.

This was in my first post.
arcachofo wrote:How did do you do that?

19SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Thu Jul 14, 2022 10:11 pm

arcachofo

arcachofo

Finally I understood the problem.

Solved at Rev 1297.

PD: seems like I need some vacations (or maybe a few years in a Tibetan monastery).

20SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Thu Jul 14, 2022 11:23 pm

Defran

Defran

Thanks, muchisimas gracias. Your vacations are very close and well deserved. Thanks, but do not forget, before go on vacation, to release the last version so we can enjoy Simulide this summer.

21SIDE 1290. INFO TEXT IN COMPONENT Empty Re: SIDE 1290. INFO TEXT IN COMPONENT Sun Jul 24, 2022 1:13 pm

Defran

Defran

r1299, ok, thanks.

arcachofo likes this post

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum