TMalus11
-
Posts
8 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Articles
Marionette
Store
Posts posted by TMalus11
-
-
Just now, t.aichele@freudig.com said:
Hello everyone, I would like to write a script in which I can show all classes.
However, I want to keep 2 specific classes invisible.
What procedures can I take? -
hallo Zusammen, ich möchte mir ein Skript schreiben bei dem ich alle Klassen einblenden kann.
Allderdings möchte ich 2 bestimmte Klassen unsichtbar lassen.
Welche Prozeduren kann ich darfür nehmen? -
Thanks for the brief analysis of my script, now I understand the matter a little better. I apologize for my questions, but I'm new to scripting and want to learn how to do it. So it would be better to program things properly right from the start. Can I solve this more easily with Python? What would such a program look like?
-
I mean that I have to click twice in the drawing. To be more precise, the tool is not executed until the second click. e.g. With the rectangle tool, I define the starting point with the first click. With my tool, nothing happens at the first click.
-
Hello everybody, I have created a tool command and call it up via an icon button. I have the problem that I first have to click in the drawing area before I can work with the actual command. What did I do wrong?
Choose_Standard='Freudig_2'
c= 'Bemaßung'
tsize=10import vs;
def CustTool():
Result = vs.SetDefaultBeginningMarker(0, 15, 0.118103, 0.000000, 34, 0.050000, False);
Result = vs.SetDefaultEndMarker(0, 15, 0.118103, 0.000000, 34, 0.050000, False);
vs.PenSize(14);
vs.PenBack(256);
vs.PenFore(1271);
Name = '';
if vs.Name2Index(Name) > 0:
vs.PenPatN(-vs.Name2Index(Name));CustTool();
Dim_Std = {} #Dictionary of Name and Index Number
i=0;v=''while v !=1:
try:
vs.SetDimStd(i)
except:
pass
vs.LinearDim((0,0), (0,0), 0, 0, 0, 0, 0)
h=vs.LNewObj()
v=vs.GetObjectVariableInt(h,0) #if 1 the function switched to 1 because of an error
n=vs.GetObjectVariableString(h,27)
vs.DelObject(h)
i=i-1
if v !=1:
Dim_Std[n] = vvs.NameClass(c);
vs.SetDimStd (Dim_Std.get(Choose_Standard));
vs.SetPref(44,True);
vs.SetTool(-211);
vs.TextSize(tsize)
Script for all classes
in Vectorscript
Posted
Thanks for the help!
Is it actually possible to turn off class groups with a procedure?
Or is there also a procedure that can control classes that start with the same character or word as "Wall"?