Forward Migration Help Needed!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-21 05:39 PM
2017-09-21
05:39 PM
I have an issue whilst forward migrating an object. In the old version of the object the is defined variable using the following;
VALUES 'trunktypeX' '0 none','1 coniferous','2 decidous','3 shrub'As you can see it says '2 decidous' rather than deciduous...This is corrected in the latest version of the object but I want to be able to add a line of code into my forward migration script to be able to basically change that variable definition to the new definition. I just don't know how to do it and I can't seem to find anything about it online. Changing the old object isn't an option due to it being used by other people and it would definitely cause problems. Thanks in advance for any help.
ArchiCAD 27
Windows 10
Windows 10
8 REPLIES 8

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-22 09:12 AM
2017-09-22
09:12 AM
I would say it is a matter of putting
Or is this what you have tried?
if trunktypeX = '2 decidous' then trunktypeX = '2 deciduous' endifin the Forward Migration script.
Or is this what you have tried?
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-22 10:10 AM
2017-09-22
10:10 AM
Erwin wrote:I have not tried this, I didn't know the best way to scripting it. I will let you know how it goes, thanks.
I would say it is a matter of puttingif trunktypeX = '2 decidous' then trunktypeX = '2 deciduous' endifin the Forward Migration script.
Or is this what you have tried?
ArchiCAD 27
Windows 10
Windows 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-22 10:13 AM
2017-09-22
10:13 AM
JGoode wrote:It didn't seem to work sadly.
I will let you know how it goes, thanks.
Edit: Got it working, just had to define it in the new object too

ArchiCAD 27
Windows 10
Windows 10

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-22 10:54 AM
2017-09-22
10:54 AM
Great

Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-22 01:30 PM
2017-09-22
01:30 PM
Erwin wrote:Hi, I have another issue with forward migrating. Basically I have 2 versions of the same object, one of which is an upgrade from the previous object. However the issue is that on one object
Great
A = 0.95and
B = 2.2but on the new object those are the other way around so
A = 2.2 and B = 0.95I can't seem to work out how to basically make them switch over using the forward migration script. Thanks for any help.
ArchiCAD 27
Windows 10
Windows 10

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-22 01:52 PM
2017-09-22
01:52 PM
With forward migration script, put A in placeholderB and B in placeholderA, then turn B into placeholderB and A into placeholderA?
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-22 01:59 PM
2017-09-22
01:59 PM
Erwin wrote:I don't understand what you mean, would you be able to give an example please?
With forward migration script, put A in placeholderB and B in placeholderA, then turn B into placeholderB and A into placeholderA?
ArchiCAD 27
Windows 10
Windows 10

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-22 02:14 PM
2017-09-22
02:14 PM
I would use placeholder parameters. So put parameter A in a parameter placeholderB, etc. Then change B to be placeholderB.
I am not sure how the migration script works excactly, but I would say it runs once you load the newer library part and looks for the old part to change parameters as needed. Changing existing parameters around might not work though.
So yeah, big disclaimer, I've never bothered making replacement parts. Most of our 'custom' library parts are just simple 2D symbols and a large collection of custom parametric door leafs that we generally copy / paste as needed in to project specific libraries so they can be freely edited.
I am not sure how the migration script works excactly, but I would say it runs once you load the newer library part and looks for the old part to change parameters as needed. Changing existing parameters around might not work though.
So yeah, big disclaimer, I've never bothered making replacement parts. Most of our 'custom' library parts are just simple 2D symbols and a large collection of custom parametric door leafs that we generally copy / paste as needed in to project specific libraries so they can be freely edited.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5