What's new

script

  1. A

    Run Script From Batch

    Hello, I am trying to figure out if there is a way to execute an script in Alibre from batch. What I would like to do is be able to launch Alibre with a particular part (or assembly), then run a script that will update the global parameters and export a neutral CAD file. I have figured out...
  2. V

    Lofted path with guide curves generates s-shape

    I created 4 guide curves and 2 profiles to generate a loft, the result is correct at the guide curves but creates a S-shape in between. The different options in the loft feature have no effect. Is there a way to get the result shown in green? PS: I started with a sweep which did not give the...
  3. V

    How to create SweepBoss

    Hello, In this example: https://support.alibre.com/support/solutions/articles/27000049682-profile-and-sweep-path a profile and path is created, but how do I sweep add a sweep feature in the script? (Already found the solution) Solution add line...
  4. Cator

    Wooden_Box_Generator

    Hi everyone, after three months of working with Alibre at a hobby level and just over a month of initiation into the Python language, I am happy to share with you one of the jobs that I was able to do as a beginner. I await your advice to improve and ask: a) Is it possible to customize the...
  5. V

    Auto Generate 2D Drawings From SQL Data

    I would like to see if anyone here had tried to automate drawing generation using Script with almost all relevant data coming from SQL Server. I would probably have 5-10 master 3D assemblies that I could use Script to gather data from SQL, adjust/suppress parts or subassemblies, adjust features...
  6. Cator

    Sketch Rectangle whith script

    Hello everybody, I want to create a rectangle, which I will then use to extrude material on the face at the ZX plane using the script, as in the "Laterale" Part. Can anyone help me please complete the script I made to do this part to add the extrusion? Thanks to all of you!
  7. Brandon_Velmex

    Editing a Part in an Assembly

    Hello everyone, I'm trying to change the length of a part in my assembly. I would like to steer clear of configurations, because I need the part to be able to be any length. Currently I have the length linked to a global parameter, which I am able to change in a script, but the length will not...
  8. Brandon_Velmex

    Script Language for Selecting and Editing Configurations

    I am trying to write a script which will build a proper assembly out of existing configurations once the menus are all complete. However, all the existing tutorials are based around building a new configuration, or a new assembly. My question is: what are the specific Python script commands for...
  9. idslk

    Script Pre Release: Assign_Material_to_Assembly_Parts_015a

    Hello colleagues, i've updated the script from THIS_TREAD to run with V22 and the new material definition... The density display has to be tested with other language installations, which can't be done by me... Comments are welcome...specially due to first script for V22;) And as ever: Use the...
  10. albie0803

    Script to apply ISO 18388 (DIN509) Undercuts in Shafts 2020-10-13

    This script will create ISO 18388(DIN509) Undercuts on a shaft. It assumes that the shaft is built on the X-Axis.
  11. GIOV

    Wizotool 4.10 2020-08-03

    Tool for do script with 32 bits Laptop
  12. idslk

    Script Release: Update Table_to_3DPoints_forum_V03

    Edit: Update to V03: # V03 does no longer create copies of points, instead it changes their coordinate values # the ee-parameter get the name of the point and an extension for the axis # table cells now can also contain formulas Hello colleagues, if you have a table like that: and you want...
  13. idslk

    Script prerelease - CoG-Point Update V03

    Edit: Update to V03 renames the original point names in EE and adds a date to the CoG point to show when it was created Hello colleagues, this script uses the physical properties to generate 3 variables in the Equation Editor and an 3D-point in the design to represent the center of gravity for...
  14. J

    OptionsDialog to select a feature

    I would like to use an OptionsDialog window to allow the user to select a specific part feature. However I don't see a feature option in the WindowsInputTypes enum. Doing some digging, I found a Features property of the Part class which is of type list, but it is empty in my part. I can access...
  15. otrotabi

    OpenFileDialog - Open existing part script

    I want to share with you a little script that uses the OpenFileDialog Function of the Windows class. # open existing part script import os Win = Windows() # show open dialog window, if user clicks on OK then a path and filename will be returned FileName = Win.OpenFileDialog('Select a part...
  16. otrotabi

    Sheet metal

    I have noticed Alibre script is not included while creating a new sheet, maybe it will in the future ? Meanwhile, I need to be able to automate sheet metal parts, and maybe if I prove myself smart enough even generate the G-code for our CNC punching machine with a script. Lots of our parts are...
  17. otrotabi

    Convert to sheet metal

    Is anyone familiar with the "Convert to sheet metal tool ?". My goal is to be able to automate sheet metal parts generation with the use of Alibre Script, but first I need to understand how this tools works because so far it does not seem possible to create sheet metal parts with Alibre script...
  18. otrotabi

    Edit existing part with a script

    Is it possible to open an existing part (created with the GUI interface) and edit it with a script ? Changing variable values for example ?
  19. otrotabi

    Script editing tools

    Hi everyone, I was wondering what is everyone using for script editing. I could not find any tools for search, search and replace, etc, from within the edit window. Are there any shortcuts available ? Since I am in the learning phase I like being able to introduce new sketches and features one...
Top