Auto-generation add-on for column CAD compatibility
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-04-12
02:58 AM
- last edited on
2022-12-06
01:42 PM
by
Daniel Kassai
2018-04-12
02:58 AM
I'm still an API beginner. I've been dealing with C ++ 10 years ago.
Area(or Zone) and text were created by inserting the precast columns and column name layers drawn in CAD drawings using merge to worksheet function.
I want to create an add-on that uses this and calculates the outline size of the area to create a column object and select the column Text nearest to each area as this object and input it as the id of the column object. Would it be easy to develop based on an example
Area(or Zone) and text were created by inserting the precast columns and column name layers drawn in CAD drawings using merge to worksheet function.
I want to create an add-on that uses this and calculates the outline size of the area to create a column object and select the column Text nearest to each area as this object and input it as the id of the column object. Would it be easy to develop based on an example
Labels:
- Labels:
-
Add-On (C++)
24 REPLIES 24
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-05-10 08:48 AM
2018-05-10
08:48 AM
park wrote:First use
When I checked the error, I noticed a NotEditeable error and turned on the layer. But how do you edit attribute information with editability?
Ralph Wessel BArch
Central Innovation
Central Innovation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-05-11 01:22 AM
2018-05-11
01:22 AM
I want to develop a command to create a beam first and then click inside the trapezoidal outline to create a slab.
The big flow is conceived as follows.
0. Summarize the default data of the slab.
1. Click in the middle of the beam in the 2D window.
2. Get the click point and find the entire beam list and search for the nearest four beams close to the click point.
3. Find the point where the inner line of the nearest beam intersects the inner line of the syllable and form the four vertices of the outline of the slaughter.
4. Create a slab.
The question is, is it possible to create a slab by repeatedly clicking on a 2D window? How can I use the While statement to create a series of click point data and then press ESC (escape) to stop it from working anymore?
The big flow is conceived as follows.
0. Summarize the default data of the slab.
1. Click in the middle of the beam in the 2D window.
2. Get the click point and find the entire beam list and search for the nearest four beams close to the click point.
3. Find the point where the inner line of the nearest beam intersects the inner line of the syllable and form the four vertices of the outline of the slaughter.
4. Create a slab.
The question is, is it possible to create a slab by repeatedly clicking on a 2D window? How can I use the While statement to create a series of click point data and then press ESC (escape) to stop it from working anymore?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-05-11 10:26 AM
2018-05-11
10:26 AM
Take a look at APIIo_GetPointID (called within ACAPI_Interface ). This will allow you to prompt for a point and cancel when the user presses escape.
Ralph Wessel BArch
Central Innovation
Central Innovation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-05-31 10:34 AM
2018-05-31
10:34 AM
How can I make a command that calculates the height of the Precast column created by GDL by constraining it to -500 mm of work floor +1?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-06-07 11:08 AM
2018-06-07
11:08 AM
Assuming I have developed a Precast Concrete library called "Column1.gsm", I want to run an add-on command to read AutoCAD data, receive default data values, and automatically place object files on planes.
We think that it is possible to make a PC member similar to automatic generation of a general structure column.
1. Planar dimensions a and b are read as polylines.
2. Read the level of the current working and upper layers and then make a constant value at the upper layer level
Enter the height of the PC column.
3. Enter the ID of the PC member.
Questions
1. "Column1.gsm" What is the command that gets the default value of the LibraryPart?
2. What is the command to find the EL of the current layer and the EL of the upper layer?
3. How do I access and modify the a, b, and addParms of the Column1 object?
4. Is it the same as the existing command (API_Elem_Create) to create the element?
We think that it is possible to make a PC member similar to automatic generation of a general structure column.
1. Planar dimensions a and b are read as polylines.
2. Read the level of the current working and upper layers and then make a constant value at the upper layer level
Enter the height of the PC column.
3. Enter the ID of the PC member.
Questions
1. "Column1.gsm" What is the command that gets the default value of the LibraryPart?
2. What is the command to find the EL of the current layer and the EL of the upper layer?
3. How do I access and modify the a, b, and addParms of the Column1 object?
4. Is it the same as the existing command (API_Elem_Create) to create the element?
- « Previous
- Next »
- « Previous
- Next »