Das Wissen aller Anwender nutzen

Im Allplan Connect Forum tauschen sich Anwender aus, geben wertvolle Tipps oder beraten sich bei ganz konkreten Aufgabenstellungen − auch international.
Und damit wirklich keine Frage unbeantwortet bleibt, unterstützen die Mitarbeiter des Technischen Supports ebenfalls aktiv das Forum.

Es erwarten Sie:

  • Foren-Vielfalt aus CAD Architektur, CAD Ingenieurbau uvm.
  • Tipps von User für User
  • international: Deutsch, Englisch, Italienisch, Französisch und Tschechisch

Melden Sie sich jetzt an und diskutieren Sie mit!

Zur Registrierung

[Frage] Defining the width of controls in a palette!

Schlagworte:
  • Allplan
  • PythonParts

Hi there,

where it is possible to define in Allplan the width of controls in a palette. Sometimes controls are too small that you cannot display correct info in them. Please let us know, where it is possible do define this width as follows:
- XML language does not have this command?
- Can this be done somewhere else in Allplan?
- SmartParts have this option, in PythonParts it is nowhere to be found!
- Can this be done in Windows Registry?

Any suggestions are welcome!!!
Best Regards, Primoz

I explained the question here in detail:
https://www.dropbox.com/s/ruttb4cu9plxbr9/Ctrl-Width.mp4?dl=0

Anhänge (1)

Typ: application/pdf
1285-mal heruntergeladen
Größe: 34,72 KiB

Hello,

Put the mouse at the limit of the controls, the cursor change to this double-arrow (see attached picture). Then, move left or right to change the width of the controls.


Anhänge (1)

Typ: image/png
8-mal heruntergeladen
Größe: 5,33 KiB

Unbelievable, thank you a lot.
Primoz

Please click on "Is solution" on my answer message...
This could help some other users.


Hi Primoz,

you can also define a default value for the with by "DataColumnWidth"

<Script>
<Name>PaletteExamples\AllControls.py</Name>
<Title>AllControls</Title>
<Version>1.0</Version>
<TextId>1001</TextId>
<DataColumnWidth>150</DataColumnWidth>
</Script>

Best regards
Horst

Hi Horst,

Good news!
Is there a list somewhere with all the keywords? "DataColumnWidth" is not in the help page...
Is there also a tag for the width of a control, for example, 2 controls in a row spread over 1/3 and 2/3 of the width?
And can we have a row with a custom height?
Overall, can we define each control as we can do with SmartParts?
Thank you.