list of placed objects on a layout
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-10-08 10:42 AM
‎2014-10-08
10:42 AM
Any idea?
Has somebody ever tried to get it?
AC27 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
13 REPLIES 13
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-10-08 10:59 PM
‎2014-10-08
10:59 PM
alemanda wrote:Great! Would love to see any updates.
I'm making some simple beginning tests. I will keep the thread updated.
I'm starting from this point
http://195.144.20.106/viewtopic.php?p=81698&sid=e4bb01eac63a342ca1b256256f8044db
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-10-09 10:32 AM
‎2014-10-09
10:32 AM
...any chance to use STRSTR function with autotext <DRAWINGNAME>?
Something like this:
LISTOFDRAWINGS=<DRAWINGNAME>
dwgisonthelayout = STRSTR(LISTOFDRAWINGS, dwgtobesearched)
if dwgisonthelayout>0 then gosub ADD_TO_THE_LIST_OF_THE_OBJECTS_ON_THIS_LAYOUT
where dwgtobesearched should be the name of the drawing written on a text file by the object I want to schedule
Something like this:
LISTOFDRAWINGS=<DRAWINGNAME>
dwgisonthelayout = STRSTR(LISTOFDRAWINGS, dwgtobesearched)
if dwgisonthelayout>0 then gosub ADD_TO_THE_LIST_OF_THE_OBJECTS_ON_THIS_LAYOUT
where dwgtobesearched should be the name of the drawing written on a text file by the object I want to schedule
AC27 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-10-09 01:08 PM
‎2014-10-09
01:08 PM
This way seems that it doesn't take me on the right direction ...
I try in another way.
First step.
I will create
- myobject. This is the object I want to be listed if placed on a certain view which is place in a certain layout. This object will write on the "objectfile.txt" all the parameter that I want to list and the view_ID where it is placed on (using REQUEST("HomeDB_info", "", homeDBIntId, homeDBUserId, homeDBName, homeContext).
- mytitle. This is the title-object which will write on the "viewfile.txt" the view_id of the view which it is the title of and the layout where that view is placed (using REQUEST("HomeDB_info", "", homeDBIntId, homeDBUserId, homeDBName, homeContext) and AC_Drawingname parameter).
- myscheduler. This is the object (to be placed on the layout) which reads all the view_id of all the views placed in the current layout (where the scheduler is placed) in "viewfile.txt" and then reads all the objects placed in those views. Then create a graphic list of the found objects, reading all the relevant and needed data from the "objectfile.txt"
In this way, filtering the objectfile.txt by view_id, I can list all myobjects (and all the data of myobjects written in objectfile.txt), belonging to views, placed on a certain layout.
Now the (biggest?) problem is how to recognize if the myobject is visible or not.
A couple of questions.
1. How to know, for example, if the myobject is on a layer which is turned off in that particular view?
2. How to know if myobject is placed on a portion of a view which is cut in a certain layout?
I try in another way.
First step.
I will create
- myobject. This is the object I want to be listed if placed on a certain view which is place in a certain layout. This object will write on the "objectfile.txt" all the parameter that I want to list and the view_ID where it is placed on (using REQUEST("HomeDB_info", "", homeDBIntId, homeDBUserId, homeDBName, homeContext).
- mytitle. This is the title-object which will write on the "viewfile.txt" the view_id of the view which it is the title of and the layout where that view is placed (using REQUEST("HomeDB_info", "", homeDBIntId, homeDBUserId, homeDBName, homeContext) and AC_Drawingname parameter).
- myscheduler. This is the object (to be placed on the layout) which reads all the view_id of all the views placed in the current layout (where the scheduler is placed) in "viewfile.txt" and then reads all the objects placed in those views. Then create a graphic list of the found objects, reading all the relevant and needed data from the "objectfile.txt"
In this way, filtering the objectfile.txt by view_id, I can list all myobjects (and all the data of myobjects written in objectfile.txt), belonging to views, placed on a certain layout.
Now the (biggest?) problem is how to recognize if the myobject is visible or not.
A couple of questions.
1. How to know, for example, if the myobject is on a layer which is turned off in that particular view?
2. How to know if myobject is placed on a portion of a view which is cut in a certain layout?
AC27 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-10-13 07:08 AM
‎2014-10-13
07:08 AM

I encountered another big problem, the biggest one.
What happens when I delete one of the placed "my objects" from a floorplan or from a section? How can I delete the related record in the text file?

AC27 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »