I am generating parameterized models in VisualScript and I have some problems, which I think must be from the system.
When generating a VisualScript. I have generated several files and I want to assemble them into one, but it does not appear. I have the display enabled in the Node, but they don't appear in the file.
I generate the file and in the properties it appears correct, but visually it is not visible.
This runs perfect, with the example that comes by default.
Thank you.
- Forum
- CAD Parametric Modelling
- Visual Scripting
[Question] VisualScript Generation Problems
If you check the loaded script MultiSidedDome.pyp from example, it will generate objects from the node Shell. If the loaded script only generates preview, it won't work in this example.
Could you please check if the loaded script 01.pyp from your script will generate objects by itself?
If you just want to combine the script logic not objects from several small scripts to avoid creating a large script, I'm afraid that it currently doesn't work as you expected.
Product Owner API, Allplan GmbH
Pièces-jointes (1)
Thank you very much for the answer and the help.
My idea is to create the union of several Script, so that you do not have to make a very large one. In Example 01, a created script replicates it giving it angle and repetition.
Thank you.
I'm afraid, it is currently not possible to do that, unless each script also creates at least one object and you can then use that object in another script.
Product Owner API, Allplan GmbH
Thank you very much for the help and above all for the speed of the response.
I hope that soon, they can improve that function. ;)
Taking advantage of the post, I have a question, which I think may be due to the system.
When placing a reinforcement, there are times when it does not place it correctly.
In the reinforcement of the upper part it is perfectly represented, but that of the lower part is not seen in the model visualization.
Thank you.
Pièces-jointes (2)
I'm not familiar with rebar topic in VS... yet...
If you can upload your pyp-script (if possible) and point out where the expected rebar placement should be, our team or others may help.
Product Owner API, Allplan GmbH
Of course, it is not a problem.
I am sending you the file, because I don't know if it's a system problem or something that I did wrong.
Thank you very much.
All the best.
Pièces-jointes (1)
Just tried your script with Allplan 2021-1-13. It seems that VS Editor gets some errors with your script... After I started your script, I only got half of the geometry (the lower part), no rebar...
Could you try to provide allplan.out and allplan_python.out after start the script?
They should be located in Allplan user <Tmp> folder, by default:
C:\Users\<UserName>\AppData\Local\Nemetschek\2021_VisualScripting\2021\Tmp
If there is no such file there, please turn on the logging function from Allplan Service Appliation.
Product Owner API, Allplan GmbH
Pièces-jointes (1)
Good afternoon, I thought it had been solved, but it was just a momentary problem.
I attach the files, to see if you can help me to solve the incident and tell me where the error is.
Thank you very much.
Pièces-jointes (3)
Attached I send allplan_python.out and allplan.out
Thank you very much.